forked from pool/python-eventlet
- Add newdnspython.patch which makes eventlet work with new
dnspython 2.0.0. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=71
This commit is contained in:
@@ -28,12 +28,16 @@ Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventl
|
||||
# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#eventlet/eventlet#638 mcepl@suse.com
|
||||
# Removes dependency on nose
|
||||
Patch0: remove_nose.patch
|
||||
# PATCH-FIX-UPSTREAM newdnspythis patch makes things totally awesomethon.patch gh#eventlet/eventlet#638 mcepl@suse.com
|
||||
# patch is from gh#rthalley/dnspython#519
|
||||
Patch1: newdnspython.patch
|
||||
BuildRequires: %{python_module dnspython >= 1.15.0}
|
||||
BuildRequires: %{python_module greenlet >= 0.3}
|
||||
BuildRequires: %{python_module monotonic >= 1.4}
|
||||
BuildRequires: %{python_module pyOpenSSL}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.10.0}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: netcfg
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -73,7 +77,7 @@ sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# All tests fail (gh#eventlet/eventlet#638)
|
||||
# All tests fail (gh#eventlet/eventlet#638), we are now on 8 errors
|
||||
%pytest || /bin/true
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user