[packages/python-eventlet] - tests BR: python-subprocess32; disable some tests requiring particular environment
qboosh
qboosh at pld-linux.org
Tue Jan 7 21:58:52 CET 2020
commit 22e1cad097cff60363ce5142fa96540f59f37670
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 7 21:58:51 2020 +0100
- tests BR: python-subprocess32; disable some tests requiring particular environment
python-eventlet.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/python-eventlet.spec b/python-eventlet.spec
index d2a13b1..9b734d7 100644
--- a/python-eventlet.spec
+++ b/python-eventlet.spec
@@ -29,6 +29,7 @@ BuildRequires: python-greenlet >= 0.3
BuildRequires: python-monotonic >= 1.4
BuildRequires: python-nose >= 1.3.1
BuildRequires: python-six >= 1.10.0
+BuildRequires: python-subprocess32
%endif
%endif
%if %{with python3}
@@ -103,7 +104,7 @@ interpretera Pythona lub jako małej części dużej aplikacji.
Summary: API documentation for eventlet module
Summary(pl.UTF-8): Dokumentacja API modułu eventlet
Group: Documentation
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
@@ -117,6 +118,11 @@ Dokumentacja API modułu eventlet.
%setup -q -n eventlet-%{version}
%patch0 -p1
+# uses network
+%{__rm} tests/greendns_test.py
+# requires local mysql
+%{__rm} tests/mysqldb_test.py
+
%build
%if %{with python2}
%py_build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-eventlet.git/commitdiff/22e1cad097cff60363ce5142fa96540f59f37670
More information about the pld-cvs-commit
mailing list