[packages/python-eventlet] - updated to 0.33.0 - removed obsolete monotonic patch

qboosh qboosh at pld-linux.org
Thu Mar 24 20:09:40 CET 2022


commit 13dfd460b520fdb9007969dd94fce9c7bda96683
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 24 20:11:36 2022 +0100

    - updated to 0.33.0
    - removed obsolete monotonic patch

 python-eventlet-monotonic.patch | 50 -----------------------------------------
 python-eventlet.spec            | 12 +++++-----
 2 files changed, 5 insertions(+), 57 deletions(-)
---
diff --git a/python-eventlet.spec b/python-eventlet.spec
index 24fa423..eae7b65 100644
--- a/python-eventlet.spec
+++ b/python-eventlet.spec
@@ -8,14 +8,13 @@
 Summary:	Highly concurrent networking library for Python 2
 Summary(pl.UTF-8):	Biblioteka sieciowa o dużym stopniu zrównoleglenia dla Pythona 2
 Name:		python-eventlet
-Version:	0.25.1
-Release:	2
+Version:	0.33.0
+Release:	1
 License:	MIT
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.org/simple/eventlet/
 Source0:	https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
-# Source0-md5:	8d7145af6506d5418c5a6bee7bf0b7e7
-Patch0:		%{name}-monotonic.patch
+# Source0-md5:	a15ae1b585678c0bad0e89916d7c0ab4
 URL:		https://pypi.org/project/eventlet/
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
@@ -33,7 +32,7 @@ BuildRequires:	python-subprocess32
 %endif
 %endif
 %if %{with python3}
-BuildRequires:	python3-devel >= 1:3.4
+BuildRequires:	python3-devel >= 1:3.5
 BuildRequires:	python3-setuptools >= 1:5.4.1
 %if %{with tests}
 BuildRequires:	python3-dns >= 1.15.0
@@ -77,7 +76,7 @@ interpretera Pythona lub jako małej części dużej aplikacji.
 Summary:	Highly concurrent networking library for Python 3
 Summary(pl.UTF-8):	Biblioteka sieciowa o dużym stopniu zrównoleglenia dla Pythona 3
 Group:		Development/Languages/Python
-Requires:	python3-modules >= 1:3.4
+Requires:	python3-modules >= 1:3.5
 
 %description -n python3-eventlet
 Eventlet is a concurrent networking library for Python that allows you
@@ -115,7 +114,6 @@ Dokumentacja API modułu eventlet.
 
 %prep
 %setup -q -n eventlet-%{version}
-%patch0 -p1
 
 # uses network
 %{__rm} tests/greendns_test.py
diff --git a/python-eventlet-monotonic.patch b/python-eventlet-monotonic.patch
deleted file mode 100644
index 0eac468..0000000
--- a/python-eventlet-monotonic.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- eventlet-0.25.1/eventlet/__init__.py.orig	2019-08-21 23:29:28.000000000 +0200
-+++ eventlet-0.25.1/eventlet/__init__.py	2020-01-07 05:30:11.537444971 +0100
-@@ -21,8 +21,11 @@
-     # Helpful when CPython < 3.5 on Linux blocked in `os.waitpid(-1)` before first use of hub.
-     # Example: gunicorn
-     # https://github.com/eventlet/eventlet/issues/401#issuecomment-327500352
--    import monotonic
--    del monotonic
-+    try:
-+        import monotonic
-+        del monotonic
-+    except ImportError:
-+        pass
- 
-     connect = convenience.connect
-     listen = convenience.listen
---- eventlet-0.25.1/eventlet/hubs/hub.py.orig	2019-05-24 11:00:38.000000000 +0200
-+++ eventlet-0.25.1/eventlet/hubs/hub.py	2020-01-07 05:30:59.527184988 +0100
-@@ -22,7 +22,10 @@
- import eventlet.hubs
- from eventlet.hubs import timer
- from eventlet.support import greenlets as greenlet, clear_sys_exc_info
--import monotonic
-+try:
-+    from monotonic import monotonic
-+except ImportError:
-+    from time import monotonic
- import six
- 
- g_prevent_multiple_readers = True
-@@ -120,7 +123,7 @@
-         self.closed = []
- 
-         if clock is None:
--            clock = monotonic.monotonic
-+            clock = monotonic
-         self.clock = clock
- 
-         self.greenlet = greenlet.greenlet(self.run)
---- eventlet-0.25.1/setup.py.orig	2020-01-07 05:31:16.320427345 +0100
-+++ eventlet-0.25.1/setup.py	2020-01-07 05:31:19.623742782 +0100
-@@ -18,7 +18,7 @@
-         'dnspython >= 1.15.0',
-         'enum34;python_version<"3.4"',
-         'greenlet >= 0.3',
--        'monotonic >= 1.4',
-+        'monotonic >= 1.4;python_version<"3.3"',
-         'six >= 1.10.0',
-     ),
-     zip_safe=False,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-eventlet.git/commitdiff/13dfd460b520fdb9007969dd94fce9c7bda96683



More information about the pld-cvs-commit mailing list