15
0

Accepting request 448420 from home:stroeder:branches:devel:languages:python

update to 2.0.1

OBS-URL: https://build.opensuse.org/request/show/448420
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=21
This commit is contained in:
2017-01-02 08:10:04 +00:00
committed by Git OBS Bridge
parent 01fe01b5e2
commit 76214053ac
5 changed files with 15 additions and 458 deletions

View File

@@ -17,15 +17,13 @@
Name: python-oauthlib
Version: 0.7.2
Version: 2.0.1
Release: 0
Url: https://github.com/idangazit/oauthlib
Summary: A Generic Implementation of the OAuth Request-Signing Logic
License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/o/oauthlib/oauthlib-%{version}.tar.gz
# PATCH-FIX-UPSTREAM -- https://github.com/josephtate/oauthlib/commit/fc2d1218e015adcf65ba01965884430c47895cd0
Patch0: pycrypto.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -56,7 +54,8 @@ prominent libraries for signing OAuth requests, but they all suffer from one or
both of the following:
1. They predate the OAuth 1.0 spec, AKA RFC 5849.
2. They assume the usage of a specific HTTP request library.
2. They predate the OAuth 2.0 spec, AKA RFC 6749.
3. They assume the usage of a specific HTTP request library.
OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object. Use it to graft OAuth support onto your
@@ -65,7 +64,6 @@ veneer on top of OAuthLib and get OAuth support for very little effort.
%prep
%setup -q -n oauthlib-%{version}
%patch0 -p1
%build
python setup.py build
@@ -78,7 +76,7 @@ python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%doc LICENSE README.rst CHANGELOG.rst
%{python_sitelib}/*
%changelog