forked from pool/python-eventlet
- add 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch
Fixes a problem during tests runs with python 2.7: RuntimeError: no suitable implementation for this system: \ AttributeError("'module' object has no attribute 'epolls'",) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=57
This commit is contained in:
committed by
Git OBS Bridge
parent
3d1fd68fe1
commit
9b7862e481
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-eventlet
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,6 +25,8 @@ 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
|
||||
Patch0: 0001-IMPORTANT-late-import-in-use_hub-thread-race-caused-.patch
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module greenlet}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -63,6 +65,7 @@ for Python that allows changing how code is run.
|
||||
|
||||
%prep
|
||||
%setup -q -n eventlet-%{version}
|
||||
%patch0 -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