[packages/python-httpretty] enable python3 package as is
glen
glen at pld-linux.org
Tue Sep 6 18:30:06 CEST 2016
commit 3ed73992846d8f0106c967cce3fc8e6a90917097
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Sep 6 19:27:34 2016 +0300
enable python3 package as is
update test deps
- python3-urllib3 -- ImportError: No module named 'urllib3'
python-httpretty.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/python-httpretty.spec b/python-httpretty.spec
index 646e822..3ed2f11 100644
--- a/python-httpretty.spec
+++ b/python-httpretty.spec
@@ -8,7 +8,7 @@
# will notice that the travis build for python 3 might be broken, and
# while pull requests fixing py3 support are most welcome, it is still
# not official at least *for now*.
-%bcond_with python3 # CPython 3.x module
+%bcond_without python3 # CPython 3.x module
%define module httpretty
Summary: HTTP client mock for Python
@@ -42,6 +42,8 @@ BuildRequires: python3-httplib2
BuildRequires: python3-nose
BuildRequires: python3-requests
BuildRequires: python3-tornado
+# AUTO: -- ImportError: No module named 'urllib3'
+BuildRequires: python3-urllib3
%endif
%endif
Requires: python-modules
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-httpretty.git/commitdiff/3ed73992846d8f0106c967cce3fc8e6a90917097
More information about the pld-cvs-commit
mailing list