|
|
b06f05 |
%global srcname requests-toolbelt
|
|
|
b06f05 |
%global altname requests_toolbelt
|
|
|
b06f05 |
|
|
|
b06f05 |
Name: python-%{srcname}
|
|
|
b06f05 |
Version: 0.9.1
|
|
|
b06f05 |
Release: 16%{?dist}
|
|
|
b06f05 |
Summary: Utility belt for advanced users of python-requests
|
|
|
b06f05 |
|
|
|
b06f05 |
License: ASL 2.0
|
|
|
b06f05 |
URL: https://toolbelt.readthedocs.io
|
|
|
b06f05 |
Source0: https://github.com/sigmavirus24/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
b06f05 |
# present in upstream master but not in a stable release yet
|
|
|
b06f05 |
Patch0: python-requests-toolbelt-fix-unhandled-exception-from-tests.patch
|
|
|
b06f05 |
# upstream PR 261, currently the upstream tests are broken as some network
|
|
|
b06f05 |
# resources vanished
|
|
|
b06f05 |
Patch1: python-requests-toolbelt-pass-session-into-tests.patch
|
|
|
b06f05 |
|
|
|
b06f05 |
BuildArch: noarch
|
|
|
b06f05 |
|
|
|
b06f05 |
%global _description \
|
|
|
b06f05 |
This is just a collection of utilities for python-requests, but don’t really\
|
|
|
b06f05 |
belong in requests proper.
|
|
|
b06f05 |
|
|
|
b06f05 |
%description %{_description}
|
|
|
b06f05 |
|
|
|
b06f05 |
%package -n python3-%{srcname}
|
|
|
b06f05 |
Summary: %{summary}
|
|
|
b06f05 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
b06f05 |
%{?python_provide:%python_provide python3-%{altname}}
|
|
|
b06f05 |
BuildRequires: python3-devel
|
|
|
b06f05 |
BuildRequires: python3-setuptools
|
|
|
b06f05 |
BuildRequires: python3-betamax
|
|
|
b06f05 |
BuildRequires: python3-mock
|
|
|
b06f05 |
BuildRequires: python3-pyOpenSSL
|
|
|
b06f05 |
BuildRequires: python3-pytest
|
|
|
b06f05 |
BuildRequires: python3-requests
|
|
|
b06f05 |
Requires: python3-requests
|
|
|
b06f05 |
|
|
|
b06f05 |
%description -n python3-%{srcname} %{_description}
|
|
|
b06f05 |
|
|
|
b06f05 |
Python 3 version.
|
|
|
b06f05 |
|
|
|
b06f05 |
%prep
|
|
|
b06f05 |
%autosetup -p1 -n toolbelt-%{version}
|
|
|
b06f05 |
|
|
|
b06f05 |
%build
|
|
|
b06f05 |
%py3_build
|
|
|
b06f05 |
|
|
|
b06f05 |
%install
|
|
|
b06f05 |
%py3_install
|
|
|
b06f05 |
|
|
|
b06f05 |
%check
|
|
|
b06f05 |
# Some tests are disabled due to compatibility issues with Python 3.10, once it is fixed it
|
|
|
b06f05 |
# can be enabled again.
|
|
|
b06f05 |
# Downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1926358
|
|
|
b06f05 |
py.test-%{python3_version} -v --ignore=tests/test_x509_adapter.py -k "not test_stream_response_to_specific_filename and not test_stream_response_to_directory and not test_stream_response_to_existing_file and not test_stream_response_to_file_like_object and not test_stream_response_to_file_chunksize"
|
|
|
b06f05 |
|
|
|
b06f05 |
%files -n python3-%{srcname}
|
|
|
b06f05 |
%license LICENSE
|
|
|
b06f05 |
%doc README.rst HISTORY.rst
|
|
|
b06f05 |
%{python3_sitelib}/%{altname}/
|
|
|
b06f05 |
%{python3_sitelib}/%{altname}-*.egg-info/
|
|
|
b06f05 |
|
|
|
b06f05 |
%changelog
|
|
|
b06f05 |
* Mon Oct 25 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 0.9.1-16
|
|
|
b06f05 |
- Rebuild from lookaside
|
|
|
b06f05 |
|
|
|
b06f05 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-15
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.1-14
|
|
|
b06f05 |
- Rebuilt for Python 3.10
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sat May 15 2021 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-13
|
|
|
b06f05 |
- Disable some tests for Python 3.10 bootstrap process
|
|
|
b06f05 |
|
|
|
b06f05 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-12
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sun Oct 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-11
|
|
|
b06f05 |
- Ignore failing tests (rh#1863713)
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
|
|
|
b06f05 |
- Second attempt - Rebuilt for
|
|
|
b06f05 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-8
|
|
|
b06f05 |
- Rebuilt for Python 3.9
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sat Apr 11 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.1-7
|
|
|
b06f05 |
- run test suite in %%check
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
|
|
b06f05 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
|
|
b06f05 |
- Rebuilt for Python 3.8
|
|
|
b06f05 |
|
|
|
b06f05 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Apr 04 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-2
|
|
|
b06f05 |
- Remove python2 subpackage (#1696338)
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Jan 31 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-1
|
|
|
b06f05 |
- Update to 0.9.1 version (#1670521)
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
|
|
|
b06f05 |
- Rebuilt for Python 3.7
|
|
|
b06f05 |
|
|
|
b06f05 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sun May 21 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-1
|
|
|
b06f05 |
- Update to 0.8.0 version
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Mar 20 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.7.1-1
|
|
|
b06f05 |
- Update to 0.7.1 version
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
|
|
|
b06f05 |
- Rebuild for Python 3.6
|
|
|
b06f05 |
|
|
|
b06f05 |
* Sun Jul 24 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-1
|
|
|
b06f05 |
- Update to 0.7.0 (RHBZ #1359456)
|
|
|
b06f05 |
|
|
|
b06f05 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
|
|
b06f05 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
b06f05 |
|
|
|
b06f05 |
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.2-1
|
|
|
b06f05 |
- Update to 0.6.2
|
|
|
b06f05 |
- Add proper python2 subpackage
|
|
|
b06f05 |
- Run tests properly
|
|
|
b06f05 |
- Other fixes
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon May 09 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.1-1
|
|
|
b06f05 |
- update to 0.6.1 release
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Jan 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.0-1
|
|
|
b06f05 |
- update to 0.6.0 release
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.1-1
|
|
|
b06f05 |
- update to 0.5.1 release
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.0-1
|
|
|
b06f05 |
- update to 0.5.0 release
|
|
|
b06f05 |
|
|
|
b06f05 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
b06f05 |
|
|
|
b06f05 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
|
b06f05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Apr 06 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.4.0-1
|
|
|
b06f05 |
- update to 0.4.0 release
|
|
|
b06f05 |
|
|
|
b06f05 |
* Fri Feb 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-2
|
|
|
b06f05 |
- Add missing LICENSE file
|
|
|
b06f05 |
|
|
|
b06f05 |
* Mon Feb 02 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-1
|
|
|
b06f05 |
- Initial packaging
|
|
|
b06f05 |
|