forked from pool/python-PyJWT
- Add patch to build with python 3.7:
* pyjwt-python37.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
89834d5056
commit
d2ea07281f
@@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/progrium/pyjwt
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
|
||||
Patch0: pyjwt-python37.patch
|
||||
BuildRequires: %{python_module cryptography >= 1.4}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module ecdsa}
|
||||
@@ -46,6 +47,8 @@ A Python implementation of JSON Web Token draft 01.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyJWT-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
dos2unix jwt/__main__.py
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user