forked from pool/python-oauthlib
- Update to version 0.3.4:
+ A number of small features and bug fixes. - Changes from version 0.3.3: + OAuth 1 Provider verify now return useful params - Changes from version 0.3.2: + Fixed #62, all Python 3 tests pass. - Changes from version 0.3.1: + Python 3.1, 3.2, 3.3 support (experimental) - Changes from version 0.3.0: + Initial OAuth 2 client support - Changes from version 0.2.1: + Exclude non urlencoded bodies during request verification - Changes from version 0.2.0: + OAuth provider support - Changes from version 0.1.4: + soft dependency on PyCrypto OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
985ad6ec34
commit
dbd50f9386
@@ -11,12 +11,13 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-oauthlib
|
||||
Version: 0.1.3
|
||||
Version: 0.3.4
|
||||
Release: 0
|
||||
Url: https://github.com/idangazit/oauthlib
|
||||
Summary: A Generic Implementation of the OAuth Request-Signing Logic
|
||||
@@ -26,18 +27,18 @@ Source: http://pypi.python.org/packages/source/o/oauthlib/oauthlib-%{ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
# Test build requirements:
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-pycrypto
|
||||
BuildRequires: python-rsa
|
||||
BuildRequires: python-unittest2
|
||||
Requires: python-rsa
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
%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
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%description
|
||||
A generic, spec-compliant, thorough implementation of the OAuth request-signing
|
||||
@@ -59,14 +60,13 @@ veneer on top of OAuthLib and get OAuth support for very little effort.
|
||||
%setup -q -n oauthlib-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
# Relative imports are not working properly in the test modules
|
||||
#python setup.py test
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user