diff --git a/deps-cleanup.diff b/deps-cleanup.diff new file mode 100644 index 0000000..2e02647 --- /dev/null +++ b/deps-cleanup.diff @@ -0,0 +1,13 @@ +--- requirements.pip ++++ requirements.pip +@@ -7,6 +7,6 @@ + requests==1.1.0 + steadymark==0.4.5 + sure>=1.2.1 +-tornado==2.4 +-tox==1.4.2 +-urllib3 +\ No newline at end of file ++tornado ++tox ++urllib3 diff --git a/httpretty-0.6.4.tar.gz b/httpretty-0.6.4.tar.gz deleted file mode 100644 index 3d81b94..0000000 --- a/httpretty-0.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a82fb04dcc8648d789aac066ccf435f515414536d01d560c7145204115b71f18 -size 10249 diff --git a/httpretty-0.7.0.tar.gz b/httpretty-0.7.0.tar.gz new file mode 100644 index 0000000..8a6f0be --- /dev/null +++ b/httpretty-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a422a74fe0f35fbb644c9a3a0a4ccb7a7469a8f5bae2d7c807d35a7d149d3fa6 +size 28066 diff --git a/python-httpretty.changes b/python-httpretty.changes index 2905a75..55b02f4 100644 --- a/python-httpretty.changes +++ b/python-httpretty.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Oct 21 12:22:31 UTC 2013 - dmueller@suse.com + +- update to 0.7.0: + * Refactored core.py and increased its unit test coverage to 80%. + HTTPretty is slightly more robust now + ------------------------------------------------------------------- Thu Sep 26 13:30:37 UTC 2013 - dmueller@suse.com diff --git a/python-httpretty.spec b/python-httpretty.spec index 1e25746..5c90b4c 100644 --- a/python-httpretty.spec +++ b/python-httpretty.spec @@ -17,15 +17,18 @@ Name: python-httpretty -Version: 0.6.4 +Version: 0.7.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 +Patch0: deps-cleanup.diff BuildRequires: python-devel BuildRequires: python-setuptools +BuildRequires: python-tox +BuildRequires: 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()")} @@ -39,6 +42,7 @@ unit tests. %prep %setup -q -n httpretty-%{version} +%patch0 %build python setup.py build