forked from pool/python-PyJWT
Accepting request 321601 from home:seife:OpenStack:Master
fix build on RHEL7, add PyJWT-1.1.0.diff OBS-URL: https://build.opensuse.org/request/show/321601 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
f8b165fc3d
commit
fde70f5c85
11
PyJWT-1.1.0.diff
Normal file
11
PyJWT-1.1.0.diff
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 2586c2a..dee928c 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -78,6 +78,5 @@ setup(
|
||||||
|
'Topic :: Utilities',
|
||||||
|
],
|
||||||
|
test_suite='tests',
|
||||||
|
- tests_require=['pytest', 'pytest-cov'],
|
||||||
|
cmdclass={'test': PyTest},
|
||||||
|
)
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 10 09:20:26 UTC 2015 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- apply PyJWT-1.1.0.diff only on RHEL/CentOS
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 9 16:43:37 UTC 2015 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- fix build on RHEL7, add PyJWT-1.1.0.diff
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 22 14:01:31 UTC 2015 - mcihar@suse.cz
|
Wed Apr 22 14:01:31 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
@@ -24,6 +24,8 @@ Summary: JSON Web Token implementation in Python
|
|||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-CENTOS PyJWT-1.1.0.diff -- without this, the centos build %%check will try to download stuff from pypi --seife
|
||||||
|
Patch1: PyJWT-1.1.0.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-cryptography
|
BuildRequires: python-cryptography
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@@ -44,6 +46,9 @@ A Python implementation of JSON Web Token draft 01.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyJWT-%{version}
|
%setup -q -n PyJWT-%{version}
|
||||||
|
%if 0%{?rhel}
|
||||||
|
%patch1 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Reference in New Issue
Block a user