diff --git a/httpretty-0.8.0.tar.gz b/httpretty-0.8.0.tar.gz new file mode 100644 index 0000000..f1381da --- /dev/null +++ b/httpretty-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5512b38ad3bfb9f7d275c957b4a7eddc69e4b3a749e3b62a984c86fb6ab329b +size 34291 diff --git a/python-httpretty.changes b/python-httpretty.changes index bceded4..3eef30e 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 17 10:02:32 UTC 2014 - dmueller@suse.com + +- update to 0.8.0: + * This new version brings Python 3 support, leaner requirements + ------------------------------------------------------------------- Fri Jan 17 10:22:22 UTC 2014 - speilicke@suse.com diff --git a/python-httpretty.spec b/python-httpretty.spec index bd0039c..9a6dacb 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -17,17 +17,21 @@ Name: python-httpretty -Version: 0.7.1 +Version: 0.8.0 Release: 0 Summary: HTTP client mock for Python License: MIT Group: Development/Languages/Python Url: http://github.com/gabrielfalcao/httpretty Source: https://pypi.python.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz -# PATCH-FIX-OPENSUSE speilicke@suse.com -- Don't require fixed versions -Patch0: deps-cleanup.diff BuildRequires: python-devel BuildRequires: python-setuptools +# Test requirements +#BuildRequires: python-httplib2 +#BuildRequires: python-requests +#BuildRequires: python-sure +BuildRequires: python-urllib3 +Requires: python-urllib3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -41,14 +45,18 @@ unit tests. %prep %setup -q -n httpretty-%{version} -%patch0 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -rm -r %{buildroot}%{python_sitelib}/tests # Remove global "tests" module + +# crazy deps still +%if 0 +%check +python setup.py test +%endif %files %defattr(-,root,root,-)