]> git.pld-linux.org Git - packages/python-eventlet.git/commitdiff
- updated to 0.33.0 auto/th/python-eventlet-0.33.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 24 Mar 2022 19:11:36 +0000 (20:11 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 24 Mar 2022 19:11:36 +0000 (20:11 +0100)
- removed obsolete monotonic patch

python-eventlet-monotonic.patch [deleted file]
python-eventlet.spec

diff --git a/python-eventlet-monotonic.patch b/python-eventlet-monotonic.patch
deleted file mode 100644 (file)
index 0eac468..0000000
+++ /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,
index 24fa42324161ef19d7b4225dae87c78d61ff6d24..eae7b658e7b46c114aab3cf1d1af44262b3f178d 100644 (file)
@@ -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
This page took 0.102192 seconds and 4 git commands to generate.