From 1e020c8d54a906e8c54b2827f2548c60ba895e3e44eec73b773058ce44e9f266 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Thu, 26 Mar 2015 16:17:51 +0000
Subject: [PATCH] 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
---
python-requests-oauthlib.changes | 11 +++++++++++
python-requests-oauthlib.spec | 14 +++++++++-----
requests-oauthlib-0.4.1.tar.gz | 3 ---
requests-oauthlib-0.4.2.tar.gz | 3 +++
4 files changed, 23 insertions(+), 8 deletions(-)
delete mode 100644 requests-oauthlib-0.4.1.tar.gz
create mode 100644 requests-oauthlib-0.4.2.tar.gz
diff --git a/python-requests-oauthlib.changes b/python-requests-oauthlib.changes
index f2017de..15864d6 100644
--- a/python-requests-oauthlib.changes
+++ b/python-requests-oauthlib.changes
@@ -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
diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec
index 24b86db..fbf94f2 100644
--- a/python-requests-oauthlib.spec
+++ b/python-requests-oauthlib.spec
@@ -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
diff --git a/requests-oauthlib-0.4.1.tar.gz b/requests-oauthlib-0.4.1.tar.gz
deleted file mode 100644
index 4361487..0000000
--- a/requests-oauthlib-0.4.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c6d2550c4fefc2a03d7422caf61e72ca7827854e0deefe201deb34a91527d88e
-size 14439
diff --git a/requests-oauthlib-0.4.2.tar.gz b/requests-oauthlib-0.4.2.tar.gz
new file mode 100644
index 0000000..9005ca3
--- /dev/null
+++ b/requests-oauthlib-0.4.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e0223b89518edac61a97b56ff78f271056ce08c8a17c6b644aef244fac83f23
+size 53341