]> git.pld-linux.org Git - packages/python-httpretty.git/commitdiff
loosen test deps
authorElan Ruusamäe <glen@delfi.ee>
Tue, 6 Sep 2016 16:03:28 +0000 (19:03 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 6 Sep 2016 16:03:28 +0000 (19:03 +0300)
altho doesn't seem worth to enable as the tests require network?

python-httpretty.spec
test-deps.patch [new file with mode: 0644]

index cb48e87488b4c89a0b48cc4e63141c73583fa4b1..633466aa667679e941251e40f3bb7faeafc7c7dc 100644 (file)
@@ -19,17 +19,18 @@ License:    MIT
 Group:         Libraries/Python
 Source0:       https://pypi.python.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz
 # Source0-md5: 2a6bbf270fafc77647b0479d95d0544c
+Patch0:                test-deps.patch
 URL:           http://httpretty.readthedocs.io/
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.710
 %if %{with python2}
 BuildRequires: python-distribute
-BuildRequires: python-sure
+BuildRequires: python-sure >= 1.2.24
 %endif
 %if %{with python3}
 BuildRequires: python3-distribute
 BuildRequires: python3-modules
-BuildRequires: python3-sure
+BuildRequires: python3-sure >= 1.2.24
 %endif
 Requires:      python-modules
 BuildArch:     noarch
@@ -48,6 +49,7 @@ HTTP client mock for Python.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/test-deps.patch b/test-deps.patch
new file mode 100644 (file)
index 0000000..8902ccd
--- /dev/null
@@ -0,0 +1,37 @@
+test deps are too conrete or irrelevant (doc build deps)
+
+--- httpretty-0.8.14/development.txt   2016-09-06 18:59:59.745675091 +0300
++++ httpretty-0.8.14/development.txt   2016-09-06 19:01:36.844074805 +0300
+@@ -2,16 +2,16 @@
+-flake8==2.5.1
+-httplib2==0.9.2
+-ipdb==0.8.1
+-misaka==2.0.0
+-mock==1.3.0
+-nose==1.3.7
+-nose-randomly==1.2.0
+-rednose==0.4.3
+-requests==2.8.1
+-steadymark==0.7.2
+-sure==1.2.24
+-urllib3==1.12
+-tornado==4.3
+-coverage==4.0.3
+-Sphinx==1.3.3
+-sphinx-rtd-theme==0.1.9
++#flake8==2.5.1
++#httplib2==0.9.2
++#ipdb==0.8.1
++#misaka==2.0.0
++#mock==1.3.0
++#nose==1.3.7
++#nose-randomly==1.2.0
++#rednose==0.4.3
++#requests==2.8.1
++#steadymark==0.7.2
++sure>=1.2.24
++#urllib3==1.12
++#tornado==4.3
++#coverage==4.0.3
++#Sphinx==1.3.3
++#sphinx-rtd-theme==0.1.9
This page took 0.166453 seconds and 4 git commands to generate.