From 30f02f0c2a09c6c3acdf13d82de72d7db6b4119c Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 18:51:15 +0300 Subject: [PATCH] import python-requests-oauthlib-1.3.1-10.el10 --- .gitignore | 1 + .python-requests-oauthlib.metadata | 1 + SPECS/python-requests-oauthlib.spec | 216 ++++++++++++++++++++++++++++ 3 files changed, 218 insertions(+) create mode 100644 .gitignore create mode 100644 .python-requests-oauthlib.metadata create mode 100644 SPECS/python-requests-oauthlib.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e3d469 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v1.3.1.tar.gz diff --git a/.python-requests-oauthlib.metadata b/.python-requests-oauthlib.metadata new file mode 100644 index 0000000..ae4e04f --- /dev/null +++ b/.python-requests-oauthlib.metadata @@ -0,0 +1 @@ +ab41259ea563152cad18a8840a1f4bcd0d3fe8f8 SOURCES/v1.3.1.tar.gz diff --git a/SPECS/python-requests-oauthlib.spec b/SPECS/python-requests-oauthlib.spec new file mode 100644 index 0000000..2c73857 --- /dev/null +++ b/SPECS/python-requests-oauthlib.spec @@ -0,0 +1,216 @@ +# RHEL does not include the test dependencies +%bcond tests %{undefined rhel} + +%global distname requests-oauthlib +%global modname requests_oauthlib + +Name: python-requests-oauthlib +Version: 1.3.1 +Release: 10%{?dist} +Summary: OAuthlib authentication support for Requests. + +License: ISC +URL: http://pypi.python.org/pypi/requests-oauthlib +Source0: https://github.com/requests/requests-oauthlib/archive/v%{version}.tar.gz + +BuildArch: noarch + +%description +This project provides first-class OAuth library support for python-request. + +%package -n python3-%{distname} +%{?python_provide:%python_provide python3-%{distname}} +Summary: OAuthlib authentication support for Requests. + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +BuildRequires: python3-oauthlib >= 0.6.2 +BuildRequires: python3-requests >= 2.0.0 + +%if %{with tests} +BuildRequires: python3-pytest +BuildRequires: python3-pytest-mock +BuildRequires: python3-requests-mock +%endif + +Requires: python3-oauthlib +Requires: python3-requests + +%description -n python3-%{distname} +This project provides first-class OAuth library support for python-request. + +%prep +%autosetup -n %{distname}-%{version} -p1 + +# Remove bundled egg-info in case it exists +rm -rf %{distname}.egg-info + + +%build +%py3_build + +%install +%py3_install + +%check +%if %{with tests} +%pytest -k "not testCanPostBinaryData and not test_content_type_override and not test_url_is_native_str" +%else +%py3_check_import %{modname} +%endif + +%files -n python3-%{distname} +%doc README.rst HISTORY.rst requirements.txt AUTHORS.rst +%license LICENSE +%{python3_sitelib}/%{modname}/ +%{python3_sitelib}/%{modname}-%{version}* + +%changelog +* Fri Oct 25 2024 MSVSphere Packaging Team - 1.3.1-10 +- Rebuilt for MSVSphere 10 + +* Fri Aug 16 2024 Tomas Halman - 1.3.1-10 +- Add gating configuration + +* Mon Jun 24 2024 Troy Dawson - 1.3.1-9 +- Bump release for June 2024 mass rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 1.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.3.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 1.3.1-5 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 1.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jun 15 2022 Python Maint - 1.3.1-2 +- Rebuilt for Python 3.11 + +* Sun May 29 2022 Kevin Fenzi - 1.3.1-1 +- Update to 1.3.1. Fixes rhbz#2048147 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.3.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.3.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.3.0-10 +- Rebuilt for Python 3.10 + +* Mon Feb 8 2021 Jakub Hrozek - 1.3.0-9 +- Drop python2 support +- actually run unit tests +- drop unused python3-mock dependency + +* Wed Jan 27 2021 Fedora Release Engineering - 1.3.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Sep 27 2020 Kevin Fenzi - 1.3.0-7 +- Update to 1.3.0. Fixes bug #1769415 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.2.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 1.2.0-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.2.0-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1.2.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 29 2019 Kevin Fenzi - 1.2.0-1 +- Update to 1.2.0. Fixes bug #1697439 + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jul 30 2018 - 1.0.0-1 +- upgrade to new upstream release 1.0.0 + +* Sat Jul 14 2018 Fedora Release Engineering - 0.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 10 2018 - 0.8.0-6 +- Unify Fedora/RHEL py2/py3 logic + +* Tue Jun 19 2018 Miro Hrončok - 0.8.0-5 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Apr 12 2017 John Dennis - 0.8.0-2 +- bring spec file for fedora & rhel closer together + +* Sat Feb 25 2017 Kevin Fenzi - 0.8.0-1 +- Update to 0.8.0. +- Make sure to specify package versions required. Fixes bug #1320683 + +* Sat Feb 11 2017 Fedora Release Engineering - 0.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.5.0-7 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.5.0-6 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Tue Jun 28 2016 Ralph Bean - 0.5.0-5 +- Add an explicit python2 subpackage for #1313242. + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu May 21 2015 Ralph Bean - 0.5.0-1 +- new version + +* Fri Jan 23 2015 Ralph Bean - 0.4.0-7 +- Alter egg requirements for epel. + +* Sat Jun 07 2014 Fedora Release Engineering - 0.4.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 0.4.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Mon Mar 3 2014 Jakub Dorňák - 0.4.0-4 +- python3 and python version related macros required to build + python3- subpackage are not available in el6 and el7 + +* Fri Nov 29 2013 Jakub Dorňák - 0.4.0-3 +- added python3 subpackage + +* Fri Nov 01 2013 Ralph Bean - 0.4.0-2 +- Modernized the python2 rpm macros as per review feedback. + +* Thu Oct 31 2013 Ralph Bean - 0.4.0-1 +- Initial package for Fedora