forked from pool/python-pycurl
- Add make-py2-compat.patch to pass tests on Leap 15.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=75
This commit is contained in:
@@ -43,6 +43,9 @@ Patch3: disable_randomly_failing_tests.patch
|
||||
# PATCH-FEATURE-UPSTREAM remove_nose.patch gh#pycurl/pycurl#655 mcepl@suse.com
|
||||
# remove dependency on nose
|
||||
Patch4: remove_nose.patch
|
||||
# PATCH-FIX-UPSTREAM make-py2-compat.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# Make tests passing with Leap 15.2
|
||||
Patch5: make-py2-compat.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -114,7 +117,7 @@ if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
|
||||
test_flags="$test_flags or ssh"
|
||||
fi
|
||||
# test_getinfo are failing with new bottle
|
||||
%pytest_arch -k "not ($test_flags or test_getinfo)"
|
||||
%pytest_arch -s -k "not ($test_flags or test_getinfo)"
|
||||
rm -rf %{buildroot}%{_prefix}/lib/debug %{buildroot}%{_libdir}/python*
|
||||
# test
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user