Accepting request 293276 from home:prusnak

- updated to 0.4.2:

OBS-URL: https://build.opensuse.org/request/show/293276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-oauthlib?expand=0&rev=3
This commit is contained in:
Denisart Benjamin 2015-03-26 16:17:51 +00:00 committed by Git OBS Bridge
parent cbf40057de
commit 1e020c8d54
4 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Mar 26 14:03:18 UTC 2015 - prusnak@opensuse.org
- updated to 0.4.2:
- New ``authorized`` property on OAuth1Session and OAuth2Session,
which allows you to easily determine if the session is already
authorized with OAuth tokens or not.
- New ``TokenMissing`` and ``VerifierMissing`` exception classes
for OAuth1Session: this will make it easier to catch and identify
these exceptions.
-------------------------------------------------------------------
Wed Jul 23 12:33:09 UTC 2014 - mcihar@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package python-requests-oauthlib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-requests-oauthlib
Version: 0.4.1
Version: 0.4.2
Release: 0
Summary: OAuthlib authentication support for Requests
License: ISC
@ -25,10 +25,11 @@ Group: Development/Languages/Python
Url: https://github.com/requests/requests-oauthlib
Source: https://pypi.python.org/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-oauthlib >= 0.6.2
BuildRequires: python-setuptools
Requires: python-oauthlib >= 0.4.2
Requires: python-oauthlib >= 0.6.2
BuildRequires: python-requests >= 2.0.0
Requires: python-requests >= 2.0.0
%py_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@ -48,9 +49,12 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
# python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%doc AUTHORS.rst LICENSE README.rst
%{python_sitelib}/*
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6d2550c4fefc2a03d7422caf61e72ca7827854e0deefe201deb34a91527d88e
size 14439

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e0223b89518edac61a97b56ff78f271056ce08c8a17c6b644aef244fac83f23
size 53341