Hello community, here is the log from the commit of package python-httpretty for openSUSE:Factory checked in at 2017-08-22 11:09:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httpretty (Old) and /work/SRC/openSUSE:Factory/.python-httpretty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-httpretty" Tue Aug 22 11:09:14 2017 rev:10 rq:517861 version:0.8.14 Changes: -------- --- /work/SRC/openSUSE:Factory/python-httpretty/python-httpretty.changes 2016-03-17 16:47:52.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-httpretty.new/python-httpretty.changes 2017-08-22 11:09:16.315388466 +0200 @@ -1,0 +2,8 @@ +Tue Aug 15 20:13:58 UTC 2017 - [email protected] + +- Update to 0.8.14 +- Converted to singlespec +- Remove legacy macros +- Ran spec-cleaner + +------------------------------------------------------------------- Old: ---- httpretty-0.8.8.tar.gz New: ---- httpretty-0.8.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httpretty.spec ++++++ --- /var/tmp/diff_new_pack.BdMEd6/_old 2017-08-22 11:09:17.115275837 +0200 +++ /var/tmp/diff_new_pack.BdMEd6/_new 2017-08-22 11:09:17.119275274 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-httpretty # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,21 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-httpretty -Version: 0.8.8 +Version: 0.8.14 Release: 0 -Summary: HTTP client mock for Python +Summary: HTTP client mocking tool for Python, it's like ruby's FakeWeb 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 -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()")} -%else +Url: https://github.com/gabrielfalcao/HTTPretty +Source: https://files.pythonhosted.org/packages/source/h/httpretty/httpretty-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch -%endif +%python_subpackages %description This libary allows mocking of http protocol based @@ -47,20 +40,20 @@ %setup -q -n httpretty-%{version} %build -python setup.py build - -%install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_build # crazy deps still %if 0 %check -python setup.py test +%python_exec setup.py test %endif -%files -%defattr(-,root,root,-) -%doc README.rst COPYING +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc COPYING README.rst %{python_sitelib}/httpretty %{python_sitelib}/httpretty*egg-info ++++++ httpretty-0.8.8.tar.gz -> httpretty-0.8.14.tar.gz ++++++ ++++ 2285 lines of diff (skipped)
