[packages/python3-greenlet] - updated to 3.3.2
qboosh
qboosh at pld-linux.org
Sat Mar 14 11:20:17 CET 2026
commit 5ba4cdb0b7e6f43256158af2fac27de4cb5fcf83
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 14 11:20:26 2026 +0100
- updated to 3.3.2
python3-greenlet.spec | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/python3-greenlet.spec b/python3-greenlet.spec
index b2cc2a1..49a2225 100644
--- a/python3-greenlet.spec
+++ b/python3-greenlet.spec
@@ -11,17 +11,17 @@
Summary: Lightweight in-process concurrent programming
Summary(pl.UTF-8): Lekkie programowanie równoległe wewnątrz procesu
Name: python3-%{module}
-Version: 3.2.3
+Version: 3.3.2
Release: 1
License: MIT, PSF (Stackless Python parts)
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/greenlet/
Source0: https://files.pythonhosted.org/packages/source/g/greenlet/%{module}-%{version}.tar.gz
-# Source0-md5: 7ad06c6e1f5e16908aa8bbc713531b78
+# Source0-md5: be0d9748c252575e8a69cf8724685ed8
URL: https://pypi.org/project/greenlet/
-BuildRequires: python3-devel >= 1:3.9
-BuildRequires: python3-setuptools >= 1:40.8.0
-BuildRequires: python3-modules >= 1:3.9
+BuildRequires: python3-devel >= 1:3.10
+BuildRequires: python3-setuptools >= 1:77.0.3
+BuildRequires: python3-modules >= 1:3.10
%if %{with tests}
BuildRequires: python3-objgraph
BuildRequires: python3-psutil
@@ -38,7 +38,7 @@ BuildRequires: python3-furo
BuildRequires: python3-greenlet
BuildRequires: sphinx-pdg-3
%endif
-Requires: python3-modules >= 1:3.9
+Requires: python3-modules >= 1:3.10
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# -fno-tree-dominator-opts because https://bugzilla.opensuse.org/show_bug.cgi?id=902146
@@ -86,6 +86,9 @@ Dokumentacja API modułu Pythona greenlet.
%prep
%setup -q -n greenlet-%{version}
+# relies on `setup.py --version` not emitting additional messages (something writes "imported" before version)
+%{__rm} src/greenlet/tests/test_version.py
+
%build
%py3_build
@@ -112,9 +115,12 @@ rm -rf $RPM_BUILD_ROOT
%py3_install
+# sources
%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/greenlet/*.[ch]
%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/greenlet/*.[ch]pp
-%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/greenlet/{platform,tests}
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/greenlet/platform
+# tests (including binary test extension modules)
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/greenlet/tests
%clean
rm -rf $RPM_BUILD_ROOT
@@ -123,7 +129,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS CHANGES.rst LICENSE README.rst
%dir %{py3_sitedir}/greenlet
-%attr(755,root,root) %{py3_sitedir}/greenlet/_greenlet.cpython-*.so
+%{py3_sitedir}/greenlet/_greenlet.cpython-*.so
%{py3_sitedir}/greenlet/*.py
%{py3_sitedir}/greenlet/__pycache__
%{py3_sitedir}/greenlet-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-greenlet.git/commitdiff/5ba4cdb0b7e6f43256158af2fac27de4cb5fcf83
More information about the pld-cvs-commit
mailing list