Accepting request 494947 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/494947 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-oauthlib?expand=0&rev=3
This commit is contained in:
commit
b6220adfd6
7
_service
Normal file
7
_service
Normal file
@ -0,0 +1,7 @@
|
||||
<services>
|
||||
<service name="download_files" mode="localonly">
|
||||
<param name="enforceupstream">yes</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="localonly"/>
|
||||
</services>
|
@ -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
|
||||
|
||||
|
@ -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}/*
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:198807c592b75438485c890f0403b1a8e363c86be1a87da687be18991a6850b0
|
||||
size 82847
|
3
requests-oauthlib-0.8.0.tar.gz
Normal file
3
requests-oauthlib-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:883ac416757eada6d3d07054ec7092ac21c7f35cb1d2cf82faf205637081f468
|
||||
size 84110
|
Loading…
Reference in New Issue
Block a user