diff --git a/_service b/_service new file mode 100644 index 0000000..790feac --- /dev/null +++ b/_service @@ -0,0 +1,7 @@ + + + yes + enable + + + diff --git a/python-requests-oauthlib.changes b/python-requests-oauthlib.changes index cd6d6e7..7683b19 100644 --- a/python-requests-oauthlib.changes +++ b/python-requests-oauthlib.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 26 08:55:54 UTC 2017 - pousaduarte@gmail.com + +- Update to version 0.8.0: + * Convert package to singlespec + * Added Outlook Calender API example + * Mentioned file to example.rst + * Update google.rst + * Allow OAuth2 session request() to take client_id and client_secret + * Add requests-mock to tox dependencies. + * Strips new lines in fetch_token response body + * Prefer user-supplied auth credentials. + * add a fitbit compliance fix + * test successful fitbit auth calls as well + * v0.8.0 + ------------------------------------------------------------------- Mon Jan 30 07:51:16 UTC 2017 - tbechtold@suse.com diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec index 6be06d3..757eaa2 100644 --- a/python-requests-oauthlib.spec +++ b/python-requests-oauthlib.spec @@ -16,26 +16,31 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requests-oauthlib -Version: 0.7.0 +Version: 0.8.0 Release: 0 Summary: OAuthlib authentication support for Requests License: ISC Group: Development/Languages/Python Url: https://github.com/requests/requests-oauthlib Source: https://pypi.io/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.6.2 -BuildRequires: python-requests >= 2.0.0 -Requires: python-requests >= 2.0.0 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()")} -%else BuildArch: noarch -%endif + +BuildRequires: fdupes +BuildRequires: python-rpm-macros + +BuildRequires: %{python_module devel} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module oauthlib >= 0.6.2} +BuildRequires: %{python_module requests >= 2.0.0} +BuildRequires: %{python_module setuptools} + +Requires: python-oauthlib >= 0.6.2 +Requires: python-requests >= 2.0.0 + +%python_subpackages %description This project provides first-class OAuth library support for Requests. @@ -44,15 +49,18 @@ This project provides first-class OAuth library support for Requests. %setup -q -n requests-oauthlib-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install + +#hardlink duplicated files +%fdupes %{buildroot} %check -# python setup.py test +#%%python_exec setup.py test -%files +%files %python_files %defattr(-,root,root,-) %doc AUTHORS.rst LICENSE README.rst %{python_sitelib}/* diff --git a/requests-oauthlib-0.7.0.tar.gz b/requests-oauthlib-0.7.0.tar.gz deleted file mode 100644 index 8d8cc13..0000000 --- a/requests-oauthlib-0.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:198807c592b75438485c890f0403b1a8e363c86be1a87da687be18991a6850b0 -size 82847 diff --git a/requests-oauthlib-0.8.0.tar.gz b/requests-oauthlib-0.8.0.tar.gz new file mode 100644 index 0000000..77ba10a --- /dev/null +++ b/requests-oauthlib-0.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468 +size 84110