forked from pool/python-oauthlib
Accepting request 631174 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/631174 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oauthlib?expand=0&rev=22
This commit is contained in:
commit
2a6b20ff29
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 13:01:36 UTC 2018 - mcepl@suse.com
|
||||
|
||||
Remove dependency on unittest2
|
||||
Add remove_unittest2.patch to facilitate that
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 02:49:49 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -25,6 +25,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/oauthlib/oauthlib
|
||||
Source: https://files.pythonhosted.org/packages/source/o/oauthlib/oauthlib-%{version}.tar.gz
|
||||
Patch0: remove_unittest2.patch
|
||||
BuildRequires: %{python_module PyJWT}
|
||||
BuildRequires: %{python_module blinker}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
@ -33,7 +34,6 @@ BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pyasn1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyJWT
|
||||
@ -61,6 +61,7 @@ veneer on top of OAuthLib and get OAuth support for very little effort.
|
||||
|
||||
%prep
|
||||
%setup -q -n oauthlib-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
11
remove_unittest2.patch
Normal file
11
remove_unittest2.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -21,7 +21,7 @@ def fread(fn):
|
||||
if sys.version_info[0] == 3:
|
||||
tests_require = ['nose', 'cryptography', 'pyjwt>=1.0.0', 'blinker']
|
||||
else:
|
||||
- tests_require = ['nose', 'unittest2', 'cryptography', 'mock', 'pyjwt>=1.0.0', 'blinker']
|
||||
+ tests_require = ['nose', 'cryptography', 'mock', 'pyjwt>=1.0.0', 'blinker']
|
||||
rsa_require = ['cryptography']
|
||||
signedtoken_require = ['cryptography', 'pyjwt>=1.0.0']
|
||||
signals_require = ['blinker']
|
Loading…
Reference in New Issue
Block a user