From 7f3b2d1bfbbfa7fc6cfc2792b7e6fd77e0554f5f Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 4 Jan 2025 15:44:33 +0300 Subject: [PATCH] import python-gevent-24.2.1-1.el10 --- .gitignore | 29 +--------- .python-gevent.metadata | 1 + .../python-gevent.spec | 54 ++++++++++++++++--- sources | 1 - 4 files changed, 50 insertions(+), 35 deletions(-) create mode 100644 .python-gevent.metadata rename python-gevent.spec => SPECS/python-gevent.spec (86%) delete mode 100644 sources diff --git a/.gitignore b/.gitignore index 4088ce5..71de155 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1 @@ -gevent-0.13.0.tar.gz -/gevent-0.13.1.tar.gz -/gevent-0.13.3.tar.gz -/gevent-0.13.6.tar.gz -/gevent-0.13.8.tar.gz -/gevent-1.0.tar.gz -/gevent-1.0.1.tar.gz -/gevent-1.0.2.tar.gz -/gevent-1.1b5.tar.gz -/gevent-1.1b6.tar.gz -/gevent-1.1rc3.tar.gz -/gevent-1.1rc4.tar.gz -/gevent-1.1.0.tar.gz -/gevent-1.1.1.tar.gz -/gevent-1.1.2.tar.gz -/gevent-1.2.2.tar.gz -/gevent-1.3.1.tar.gz -/gevent-1.3.2.tar.gz -/gevent-1.3.3.tar.gz -/gevent-1.3.4.tar.gz -/gevent-1.3.6.tar.gz -/gevent-1.5a3.zip -/gevent-20.5.0.tar.gz -/gevent-20.6.0.tar.gz -/gevent-20.6.1.tar.gz -/gevent-20.9.0.tar.gz -/gevent-21.1.2.tar.gz -/gevent-21.12.0.tar.gz +SOURCES/gevent-24.2.1.tar.gz diff --git a/.python-gevent.metadata b/.python-gevent.metadata new file mode 100644 index 0000000..b6d521a --- /dev/null +++ b/.python-gevent.metadata @@ -0,0 +1 @@ +eac5291266c99b9f444f48c9fa44e9d0eca02f3d SOURCES/gevent-24.2.1.tar.gz diff --git a/python-gevent.spec b/SPECS/python-gevent.spec similarity index 86% rename from python-gevent.spec rename to SPECS/python-gevent.spec index 5da01e9..f418d3f 100644 --- a/python-gevent.spec +++ b/SPECS/python-gevent.spec @@ -3,7 +3,7 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 21.12.0 +Version: 24.2.1 Release: 1%{?dist} Summary: A coroutine-based Python networking library @@ -31,17 +31,15 @@ Features include: %package -n python3-%{modname} Summary: %{summary} -%{?python_provide:%python_provide python3-%{modname}} BuildRequires: python3-devel BuildRequires: python3-Cython -BuildRequires: python3-greenlet-devel >= 0.4.17 +BuildRequires: python3-greenlet-devel >= 2.0.0 BuildRequires: python3-setuptools # For tests BuildRequires: python3-dns BuildRequires: python3-psutil BuildRequires: python3-zope-event BuildRequires: python3-zope-interface -Requires: python3-greenlet >= 0.4.17 %description -n python3-%{modname} gevent is a coroutine-based Python networking library that uses greenlet to @@ -69,6 +67,7 @@ sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py # Force re-cythonizing the sources rm $(grep -rl '/\* Generated by Cython') +rm src/gevent/_generated_include/* %build export GEVENTSETUP_EMBED=0 @@ -78,8 +77,6 @@ export GEVENTSETUP_EMBED=0 %install export GEVENTSETUP_EMBED=0 %py3_install -rm %{buildroot}%{python3_sitearch}/%{modname}/_*2.py -rm %{buildroot}%{python3_sitearch}/%{modname}/__pycache__/_*2.* find %{buildroot} -name '.buildinfo' -delete # Correct the permissions. find %{buildroot} -name '*.so' -exec chmod 755 {} ';' @@ -95,6 +92,51 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Sat Jan 04 2025 Arkady L. Shane - 24.2.1-1 +- Rebuilt for MSVSphere 10 + +* Fri Jun 14 2024 Orion Poplawski - 24.2.1-1 +- Update to 24.2.1 + +* Fri Jun 07 2024 Python Maint - 23.9.1-2 +- Rebuilt for Python 3.13 + +* Sat Feb 17 2024 Orion Poplawski - 23.9.1-1 +- Update to 23.9.1 CVE-2023-41419 (bz#2242244) + +* Fri Jan 26 2024 Fedora Release Engineering - 23.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 23.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 23.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Orion Poplawski - 23.7.0-1 +- Update to 23.7.0 + +* Tue Jun 27 2023 Orion Poplawski - 22.10.2-3 +- Add patch to remove match_hostname import + +* Thu Jun 15 2023 Python Maint - 22.10.2-2 +- Rebuilt for Python 3.12 + +* Thu Jun 15 2023 Petr Viktorin - 22.10.2-1 +- Update to 22.10.2 + +* Fri Jan 20 2023 Fedora Release Engineering - 21.12.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 21.12.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jun 14 2022 Python Maint - 21.12.0-3 +- Rebuilt for Python 3.11 + +* Wed Jun 01 2022 Miro HronĨok - 21.12.0-2 +- Support Python 3.11 + * Sun Mar 06 2022 Orion Poplawski - 21.12.0-1 - Update to 21.12.0 diff --git a/sources b/sources deleted file mode 100644 index 74da035..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (gevent-21.12.0.tar.gz) = 805ddb475281b6c4c46cdf5a714915b6612512745121e7b153f3d33f3460135efa4994e0ff1601402d4f7b80d285cbfdc0d5d93799fbeb8ddbf2a52888cd91ad