From bac062bf0a75e1640d18bc3be3425cb5fc804727c077559c8ad03ea69ae735ae Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 4 Jul 2017 06:32:47 +0000 Subject: [PATCH] Accepting request 507985 from home:alois:branches:devel:languages:python Update & conversion OBS-URL: https://build.opensuse.org/request/show/507985 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-toolbelt?expand=0&rev=10 --- python-requests-toolbelt.changes | 6 ++++++ python-requests-toolbelt.spec | 33 +++++++++++++++++++------------- requests-toolbelt-0.7.0.tar.gz | 3 --- requests-toolbelt-0.8.0.tar.gz | 3 +++ 4 files changed, 29 insertions(+), 16 deletions(-) delete mode 100644 requests-toolbelt-0.7.0.tar.gz create mode 100644 requests-toolbelt-0.8.0.tar.gz diff --git a/python-requests-toolbelt.changes b/python-requests-toolbelt.changes index eb8e84d..9169cba 100644 --- a/python-requests-toolbelt.changes +++ b/python-requests-toolbelt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 30 16:59:55 UTC 2017 - aloisio@gmx.com + +- Update to version 0.8.0 (see HISTORY.rst) +- Converted to single-spec + ------------------------------------------------------------------- Tue May 16 16:04:50 UTC 2017 - dmueller@suse.com diff --git a/python-requests-toolbelt.spec b/python-requests-toolbelt.spec index 70bc8c0..fe38d38 100644 --- a/python-requests-toolbelt.spec +++ b/python-requests-toolbelt.spec @@ -16,45 +16,52 @@ # -%define short_name requests-toolbelt - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests-toolbelt -Version: 0.7.0 +Version: 0.8.0 Release: 0 -Summary: Utility belt for advanced users of python-requests +Summary: A utility belt for advanced users of python3-requests License: Apache-2.0 Group: Development/Languages/Python -Url: https://pypi.io/packages/source/r/requests-toolbelt/%{version} -Source: %{short_name}-%{version}.tar.gz +Url: https://toolbelt.readthedocs.org +Source: https://files.pythonhosted.org/packages/source/r/requests-toolbelt/requests-toolbelt-%{version}.tar.gz +BuildRequires: %{python_module requests >= 2.0.1} +BuildRequires: %{python_module setuptools} +# SECTION test requirements BuildRequires: %{python_module betamax} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests} -BuildRequires: %{python_module setuptools} +# /SECTION +BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: %{python_module requests} +Requires: python-requests >= 2.0.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %python_subpackages %description -This is just a collection of utilities for python-requests, but don't really belong in requests proper. The minimum tested requests version is 2.1.0. In reality, the toolbelt should work with 2.0.1 as well, but some idiosyncracies prevent effective or sane testing on that version. +This is just a collection of utilities for `python-requests`_, but don't +really belong in ``requests`` proper. The minimum tested requests version is +``2.1.0``. In reality, the toolbelt should work with ``2.0.1`` as well, but +some idiosyncracies prevent effective or sane testing on that version. %prep -%setup -q -n %{short_name}-%{version} +%setup -q -n requests-toolbelt-%{version} +rm -rf requests_toolbelt.egg-info %build %python_build %install %python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} -%defattr(-,root,root) -%doc AUTHORS.rst HISTORY.rst README.rst LICENSE +%defattr(-,root,root,-) +%doc AUTHORS.rst HISTORY.rst LICENSE README.rst %{python_sitelib}/* %changelog diff --git a/requests-toolbelt-0.7.0.tar.gz b/requests-toolbelt-0.7.0.tar.gz deleted file mode 100644 index 0bd6a94..0000000 --- a/requests-toolbelt-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a -size 194062 diff --git a/requests-toolbelt-0.8.0.tar.gz b/requests-toolbelt-0.8.0.tar.gz new file mode 100644 index 0000000..8233d7c --- /dev/null +++ b/requests-toolbelt-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5 +size 196129