forked from pool/python-eventlet
- add 0001-ssl-connect-used-non-monotonic-time.time-for-timeout.patch
- add 0002-Fix-for-Python-3.7-506.patch and add 0003-Fix-compatibility-with-Python-3.7-ssl.SSLSocket-531.patch Both needed for python 3.7 compatibility OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=58
This commit is contained in:
committed by
Git OBS Bridge
parent
9b7862e481
commit
82c5a213c9
@@ -25,8 +25,15 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://eventlet.net
|
||||
Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
|
||||
# # PATCH-FIX-UPSTREAM 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch -- https://github.com/eventlet/eventlet/commit/77bccbe48d4d9a46982b2e0503e76784e76b066a
|
||||
# PATCH-FIX-UPSTREAM 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch -- https://github.com/eventlet/eventlet/commit/77bccbe48d4d9a46982b2e0503e76784e76b066a
|
||||
Patch0: 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch
|
||||
# PATCH-FIX-UPSTREAM 0001-ssl-connect-used-non-monotonic-time.time-for-timeout.patch -- https://github.com/eventlet/eventlet/commit/a28a275393d3c3ae3c3a5341cc4764fad21be3e5
|
||||
Patch1: 0001-ssl-connect-used-non-monotonic-time.time-for-timeout.patch
|
||||
# PATCH-FIX-UPSTREAM 0002-Fix-for-Python-3.7-506.patch -- https://github.com/eventlet/eventlet/commit/cf47cb518db3e0dbdd48473fb40cf9f6ecd50e07
|
||||
Patch2: 0002-Fix-for-Python-3.7-506.patch
|
||||
# PATCH-FIX-UPSTREAM 0003-Fix-compatibility-with-Python-3.7-ssl.SSLSocket-531.patch -- https://github.com/eventlet/eventlet/commit/a915bb642dd6cd4e92c959addff30509977a637c
|
||||
Patch3: 0003-Fix-compatibility-with-Python-3.7-ssl.SSLSocket-531.patch
|
||||
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module greenlet}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -66,6 +73,9 @@ for Python that allows changing how code is run.
|
||||
%prep
|
||||
%setup -q -n eventlet-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
sed -i '/enum.compat/d' setup.py # crude way to drop the strange "enum-compat" requirement
|
||||
sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script
|
||||
|
||||
|
Reference in New Issue
Block a user