forked from pool/python-oauthlib
Remove dependency on unittest2
Add remove_unittest2.patch to facilitate that OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oauthlib?expand=0&rev=36
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user