|
rdobuilder |
886213 |
%global srcname requests-toolbelt
|
|
rdobuilder |
886213 |
%global altname requests_toolbelt
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
Name: python-%{srcname}
|
|
rdobuilder |
886213 |
Version: 0.10.1
|
|
rdobuilder |
886213 |
Release: 3%{?dist}
|
|
rdobuilder |
886213 |
Summary: Utility belt for advanced users of python-requests
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
License: Apache-2.0
|
|
rdobuilder |
886213 |
URL: https://toolbelt.readthedocs.io
|
|
rdobuilder |
886213 |
Source0: https://github.com/sigmavirus24/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
BuildArch: noarch
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%global _description \
|
|
rdobuilder |
886213 |
This is just a collection of utilities for python-requests, but don’t really\
|
|
rdobuilder |
886213 |
belong in requests proper.
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%description %{_description}
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%package -n python3-%{srcname}
|
|
rdobuilder |
886213 |
Summary: %{summary}
|
|
rdobuilder |
886213 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
rdobuilder |
886213 |
%{?python_provide:%python_provide python3-%{altname}}
|
|
rdobuilder |
886213 |
BuildRequires: python3-devel
|
|
rdobuilder |
886213 |
BuildRequires: python3-setuptools
|
|
rdobuilder |
886213 |
BuildRequires: python3-betamax
|
|
rdobuilder |
886213 |
BuildRequires: python3-pyOpenSSL
|
|
rdobuilder |
886213 |
BuildRequires: python3-pytest
|
|
rdobuilder |
886213 |
BuildRequires: python3-requests
|
|
rdobuilder |
886213 |
Requires: python3-requests
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%description -n python3-%{srcname} %{_description}
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
Python 3 version.
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%prep
|
|
rdobuilder |
886213 |
%autosetup -p1 -n toolbelt-%{version}
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
# https://fedoraproject.org/wiki/Changes/DeprecatePythonMock
|
|
rdobuilder |
886213 |
sed -i -E -e 's/^(\s*)import mock/\1from unittest import mock/' \
|
|
rdobuilder |
886213 |
-e 's/^(\s*)from mock import /\1from unittest.mock import /' \
|
|
rdobuilder |
886213 |
tests/*.py tests/*/*.py
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%build
|
|
rdobuilder |
886213 |
%py3_build
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%install
|
|
rdobuilder |
886213 |
%py3_install
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%check
|
|
rdobuilder |
886213 |
# Some tests are disabled due to compatibility issues with Python 3.10, once it is fixed it
|
|
rdobuilder |
886213 |
# can be enabled again.
|
|
rdobuilder |
886213 |
# Downstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1926358
|
|
rdobuilder |
886213 |
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"
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%files -n python3-%{srcname}
|
|
rdobuilder |
886213 |
%license LICENSE
|
|
rdobuilder |
886213 |
%doc README.rst HISTORY.rst
|
|
rdobuilder |
886213 |
%{python3_sitelib}/%{altname}/
|
|
rdobuilder |
886213 |
%{python3_sitelib}/%{altname}-*.egg-info/
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
%changelog
|
|
rdobuilder |
886213 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-3
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Dec 05 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.10.1-2
|
|
rdobuilder |
886213 |
- Update license tag to SPDX format
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Wed Oct 26 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.10.1-1
|
|
rdobuilder |
886213 |
- Update to 0.10.1 version (#2137927)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Tue Oct 11 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.10.0-1
|
|
rdobuilder |
886213 |
- Update to 0.10.0 version (#2133011)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-19
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.9.1-18
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-17
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jan 06 2022 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-16
|
|
rdobuilder |
886213 |
- Drop build dependency on deprecated python3-mock
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-15
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.1-14
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sat May 15 2021 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-13
|
|
rdobuilder |
886213 |
- Disable some tests for Python 3.10 bootstrap process
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-12
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sun Oct 18 2020 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-11
|
|
rdobuilder |
886213 |
- Ignore failing tests (rh#1863713)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-10
|
|
rdobuilder |
886213 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
886213 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-9
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-8
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sat Apr 11 2020 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.1-7
|
|
rdobuilder |
886213 |
- run test suite in %%check
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Apr 04 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-2
|
|
rdobuilder |
886213 |
- Remove python2 subpackage (#1696338)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jan 31 2019 Parag Nemade <pnemade AT redhat DOT com> - 0.9.1-1
|
|
rdobuilder |
886213 |
- Update to 0.9.1 version (#1670521)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-4
|
|
rdobuilder |
886213 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sun May 21 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.8.0-1
|
|
rdobuilder |
886213 |
- Update to 0.8.0 version
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Mar 20 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.7.1-1
|
|
rdobuilder |
886213 |
- Update to 0.7.1 version
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
|
|
rdobuilder |
886213 |
- Rebuild for Python 3.6
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Sun Jul 24 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.7.0-1
|
|
rdobuilder |
886213 |
- Update to 0.7.0 (RHBZ #1359456)
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
|
|
rdobuilder |
886213 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.2-1
|
|
rdobuilder |
886213 |
- Update to 0.6.2
|
|
rdobuilder |
886213 |
- Add proper python2 subpackage
|
|
rdobuilder |
886213 |
- Run tests properly
|
|
rdobuilder |
886213 |
- Other fixes
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon May 09 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.1-1
|
|
rdobuilder |
886213 |
- update to 0.6.1 release
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jan 28 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.6.0-1
|
|
rdobuilder |
886213 |
- update to 0.6.0 release
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Dec 21 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.1-1
|
|
rdobuilder |
886213 |
- update to 0.5.1 release
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Nov 26 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.5.0-1
|
|
rdobuilder |
886213 |
- update to 0.5.0 release
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
|
rdobuilder |
886213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Apr 06 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.4.0-1
|
|
rdobuilder |
886213 |
- update to 0.4.0 release
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Fri Feb 13 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-2
|
|
rdobuilder |
886213 |
- Add missing LICENSE file
|
|
rdobuilder |
886213 |
|
|
rdobuilder |
886213 |
* Mon Feb 02 2015 Parag Nemade <pnemade AT redhat DOT com> - 0.3.1-1
|
|
rdobuilder |
886213 |
- Initial packaging
|
|
rdobuilder |
886213 |
|