2013-11-01 14:49:07 +00:00
|
|
|
%global modname oauthlib
|
|
|
|
|
|
|
|
Name: python-oauthlib
|
2021-02-08 10:31:15 +00:00
|
|
|
Version: 3.1.0
|
|
|
|
Release: 1%{?dist}
|
2013-11-01 14:49:07 +00:00
|
|
|
Summary: An implementation of the OAuth request-signing logic
|
|
|
|
|
|
|
|
License: BSD
|
2018-08-03 21:35:04 +00:00
|
|
|
URL: https://github.com/oauthlib/oauthlib
|
2019-07-15 22:16:05 +00:00
|
|
|
|
|
|
|
# WARNING: The upstream release URL contains a leading 'v' in the
|
|
|
|
# tarball name, however the URL downloads a tarball name without the
|
|
|
|
# leading 'v'. The packaging guidelines
|
|
|
|
# (https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs)
|
|
|
|
# state in this case one should just use the tarball name and document
|
|
|
|
# the reason why the full URL was not used.
|
|
|
|
#Source0: https://github.com/oauthlib/oauthlib/archive/v%{modname}-%{version}.tar.gz
|
|
|
|
Source0: %{modname}-%{version}.tar.gz
|
2013-11-01 14:49:07 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2016-06-28 17:00:52 +00:00
|
|
|
%description
|
|
|
|
OAuthLib is a generic utility which implements the logic of OAuth without
|
|
|
|
assuming a specific HTTP request object or web framework. Use it to graft
|
|
|
|
OAuth client support onto your favorite HTTP library, or provider support
|
|
|
|
onto your favourite web framework. If you're a maintainer of such a
|
|
|
|
library, write a thin veneer on top of OAuthLib and get OAuth support for
|
|
|
|
very little effort.
|
|
|
|
|
2013-11-01 14:49:07 +00:00
|
|
|
%package -n python3-oauthlib
|
|
|
|
Summary: An implementation of the OAuth request-signing logic
|
2016-06-28 17:00:52 +00:00
|
|
|
%{?python_provide:%python_provide python3-oauthlib}
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
BuildRequires: python3-blinker
|
2013-11-01 14:49:07 +00:00
|
|
|
|
2019-07-15 22:16:05 +00:00
|
|
|
BuildRequires: python3-jwt >= 1.6.0
|
|
|
|
BuildRequires: python3-cryptography >= 1.4.0
|
2017-04-12 20:33:17 +00:00
|
|
|
|
2020-07-10 18:21:10 +00:00
|
|
|
%{?python_extras_subpkg:Recommends: python3-oauthlib+signedtoken}
|
|
|
|
%{!?python_extras_subpkg:Requires: python3-jwt >= 1.6.0}
|
|
|
|
%{!?python_extras_subpkg:Requires: python3-cryptography >= 1.4.0}
|
2013-11-01 14:49:07 +00:00
|
|
|
|
|
|
|
%description -n python3-oauthlib
|
|
|
|
OAuthLib is a generic utility which implements the logic of OAuth without
|
|
|
|
assuming a specific HTTP request object or web framework. Use it to graft
|
|
|
|
OAuth client support onto your favorite HTTP library, or provider support
|
|
|
|
onto your favourite web framework. If you're a maintainer of such a
|
|
|
|
library, write a thin veneer on top of OAuthLib and get OAuth support for
|
|
|
|
very little effort.
|
2018-08-03 21:35:04 +00:00
|
|
|
|
2020-07-10 18:21:10 +00:00
|
|
|
%{?python_extras_subpkg:%python_extras_subpkg -n python3-oauthlib -i %{python3_sitelib}/%{modname}-%{version}-*.egg-info signedtoken}
|
|
|
|
|
2013-11-01 14:49:07 +00:00
|
|
|
%prep
|
2016-04-10 18:39:13 +00:00
|
|
|
%setup -q -n %{modname}-%{version}
|
2017-04-12 20:33:17 +00:00
|
|
|
|
2015-05-20 16:34:54 +00:00
|
|
|
# python-unittest2 is now provided by "python" package and python-unittest is retired
|
|
|
|
# adapt setup.py to reflect this fact downstream
|
|
|
|
sed -i "s/'unittest2', //" setup.py
|
2014-05-16 11:26:03 +00:00
|
|
|
|
2013-11-01 14:49:07 +00:00
|
|
|
# Remove bundled egg-info in case it exists
|
|
|
|
rm -rf %{modname}.egg-info
|
2014-04-12 03:17:18 +00:00
|
|
|
|
2013-11-01 14:49:07 +00:00
|
|
|
%build
|
2016-06-28 17:00:52 +00:00
|
|
|
%py3_build
|
2013-11-01 14:49:07 +00:00
|
|
|
|
|
|
|
%install
|
2016-06-28 17:00:52 +00:00
|
|
|
%py3_install
|
2013-11-01 14:49:07 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
%files -n python3-oauthlib
|
2016-06-28 17:00:52 +00:00
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
2013-11-01 14:49:07 +00:00
|
|
|
%{python3_sitelib}/%{modname}/
|
|
|
|
%{python3_sitelib}/%{modname}-%{version}-*
|
|
|
|
|
|
|
|
%changelog
|
2022-01-21 13:49:58 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 07:53:51 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-03 11:27:22 +00:00
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.0.2-10
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-02-08 10:31:15 +00:00
|
|
|
* Mon Feb 8 2021 Jakub Hrozek <jhrozek@redhat.com> - 3.1.0-1
|
|
|
|
- Update to upstream 3.1.0
|
|
|
|
- Gets rid of obsolete python-nose dependency
|
|
|
|
- Nuke the python2/python3 conditionals, let's only support python3
|
|
|
|
|
2021-01-27 12:01:24 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 02:29:20 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-10 18:21:10 +00:00
|
|
|
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-7
|
|
|
|
- Add oauthlib[signedtoken] subpackage
|
|
|
|
|
2020-05-23 03:39:39 +00:00
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-6
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-01-30 13:44:49 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-03 12:20:58 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-4
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-16 02:14:41 +00:00
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 14:53:13 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-15 22:16:05 +00:00
|
|
|
* Mon Jul 15 2019 <jdennis@redhat.com> - 3.0.2-1
|
|
|
|
- Update to upstream 3.0.2
|
|
|
|
- Resolves: rhbz#1730033
|
|
|
|
|
2019-02-02 08:04:27 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-03 21:35:04 +00:00
|
|
|
* Fri Aug 3 2018 <jdennis@redhat.com> - 2.1.0-1
|
|
|
|
- upgrade to latest upstream 2.1.0
|
|
|
|
|
2018-07-14 01:11:36 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-10 19:47:11 +00:00
|
|
|
* Tue Jul 10 2018 <jdennis@redhat.com> - 2.0.1-10
|
|
|
|
- Restore use of bcond for python conditionals
|
|
|
|
|
2018-07-10 12:15:14 +00:00
|
|
|
* Tue Jul 10 2018 <jdennis@redhat.com> - 2.0.1-9
|
|
|
|
- Unify spec file between Fedora and RHEL
|
|
|
|
|
2018-06-15 20:01:08 +00:00
|
|
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-8
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-12 03:43:15 +00:00
|
|
|
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.1-7
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2018-02-09 09:17:58 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-29 16:26:27 +00:00
|
|
|
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.7.19-5
|
|
|
|
- Cleanup spec file conditionals
|
|
|
|
|
2017-07-27 11:06:16 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-04-17 15:18:57 +00:00
|
|
|
* Mon Apr 17 2017 John Dennis <jdennis@redhat.com> - 2.0.1-3
|
|
|
|
- fix dependency on python2-jwt, should be python-jwt
|
|
|
|
|
2018-08-03 21:35:04 +00:00
|
|
|
* Thu Apr 13 2017 Dennis Gilmore <dennis@ausil.us> - 2.0.1-2
|
2017-04-13 20:10:25 +00:00
|
|
|
- add spaces around the >= for Requires
|
|
|
|
|
2017-04-12 20:33:17 +00:00
|
|
|
* Thu Mar 16 2017 John Dennis <jdennis@redhat.com> - 2.0.1-1
|
|
|
|
- Upgrade to upstream 2.0.1
|
|
|
|
- port from jwt to jwcrypto (conditional build)
|
|
|
|
- bring into alignment with rhel spec file
|
|
|
|
|
2017-02-11 09:46:44 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-13 16:05:02 +00:00
|
|
|
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1.0.3-4
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-07-19 10:43:37 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-06-28 17:00:52 +00:00
|
|
|
* Tue Jun 28 2016 Ralph Bean <rbean@redhat.com> - 1.0.3-2
|
|
|
|
- Modernize python macros.
|
|
|
|
|
2016-04-10 18:39:13 +00:00
|
|
|
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.3-1
|
|
|
|
- Update to 1.0.3
|
|
|
|
- Add python2 provides (fixes bug #1313235 and #1314349)
|
|
|
|
|
2016-02-04 20:19:20 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5.20150520git514cad7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 16:31:25 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-4.20150520git514cad7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 20:06:11 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3.20150520git514cad7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-20 16:34:54 +00:00
|
|
|
* Wed Feb 18 2015 Ralph Bean <rbean@redhat.com> - 0.7.2-2.20150520git514cad7
|
|
|
|
- new version, from a git checkout
|
|
|
|
- Replace our patch with a sed statement.
|
|
|
|
|
2014-06-07 21:45:59 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-16 11:02:07 +00:00
|
|
|
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2014-04-12 03:17:18 +00:00
|
|
|
* Fri Apr 11 2014 Ralph Bean <rbean@redhat.com> - 0.6.0-4
|
|
|
|
- Use forward-compat python-crypto2.6 package for el6.
|
|
|
|
|
2014-01-21 15:14:52 +00:00
|
|
|
* Tue Jan 21 2014 Ralph Bean <rbean@redhat.com> - 0.6.0-3
|
|
|
|
- Compat macros for el6.
|
|
|
|
|
2013-11-01 14:49:07 +00:00
|
|
|
* Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.6.0-2
|
|
|
|
- Modernized python2 rpmmacros.
|
|
|
|
|
|
|
|
* Thu Oct 31 2013 Ralph Bean <rbean@redhat.com> - 0.6.0-1
|
|
|
|
- Initial package for Fedora
|