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
This commit is contained in:
parent
e0004aa32b
commit
bac062bf0a
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33899d4a559c3f0f5e9fbc115d337c4236febdc083755a160a4132d92fc3c91a
|
||||
size 194062
|
3
requests-toolbelt-0.8.0.tar.gz
Normal file
3
requests-toolbelt-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5
|
||||
size 196129
|
Loading…
Reference in New Issue
Block a user