forked from pool/python-pycapnp
Accepting request 1167963 from home:mcalabkova:branches:devel:languages:python
- Update to 2.0.0 * Update to bundled capnproto-1.0.1 * Remove support for Python 3.7 * Update Cython version and Python to 3.12 * Make pycapnp more GIL friendly * Remove the synchronous RPC mode * Update documentation to async code * Some fixes to the magic import system * more changes, see CHANGELOG.md OBS-URL: https://build.opensuse.org/request/show/1167963 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycapnp?expand=0&rev=11
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf6569164ae97a9b37432ee5e4011c17bd551b937b4e6afa08e281116a2c8d34
|
||||
size 124553
|
3
pycapnp-2.0.0.tar.gz
Normal file
3
pycapnp-2.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9e3acc58d8d67a08dbe6c86513b6bbff734a608a7fceb102883a88877643059
|
||||
size 121413
|
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 08:24:15 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 2.0.0
|
||||
* Update to bundled capnproto-1.0.1
|
||||
* Remove support for Python 3.7
|
||||
* Update Cython version and Python to 3.12
|
||||
* Make pycapnp more GIL friendly
|
||||
* Remove the synchronous RPC mode
|
||||
* Update documentation to async code
|
||||
* Some fixes to the magic import system
|
||||
* more changes, see CHANGELOG.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 13 19:51:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pycapnp
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pycapnp
|
||||
Version: 1.3.0
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Cython wrapping of the C++ Cap'n Proto library
|
||||
License: BSD-2-Clause
|
||||
@@ -26,10 +26,13 @@ URL: https://github.com/capnproto/pycapnp
|
||||
Source: https://github.com/capnproto/pycapnp/archive/refs/tags/v%{version}.tar.gz#/pycapnp-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython with %python-Cython < 3}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pkgconfig}
|
||||
BuildRequires: %{python_module pytest-asyncio}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -45,10 +48,10 @@ sed -i '1{/^#!/d}' capnp/templates/setup.py.tmpl
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/capnpc-cython
|
||||
%{python_expand rm %{buildroot}%{$python_sitearch}/capnp/helpers/*.h
|
||||
%fdupes %{buildroot}%{$python_sitearch}
|
||||
|
Reference in New Issue
Block a user