14
0
forked from pool/python-PyJWT

Accepting request 652151 from home:glaubitz:branches:devel:languages:python

- Add patch to fix testsuite with pytest 3.9.0:
  * pyjwt-pytest390.patch

OBS-URL: https://build.opensuse.org/request/show/652151
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=37
This commit is contained in:
Tomáš Chvátal
2018-11-27 12:00:34 +00:00
committed by Git OBS Bridge
parent d2ea07281f
commit 15ac49e4b8
3 changed files with 33 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ 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
# fix testsuite with pytest >= 3.9.0, see: https://github.com/jpadilla/pyjwt/issues/382
Patch1: pyjwt-pytest390.patch
BuildRequires: %{python_module cryptography >= 1.4}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module ecdsa}
@@ -48,6 +50,7 @@ A Python implementation of JSON Web Token draft 01.
%prep
%setup -q -n PyJWT-%{version}
%patch0 -p1
%patch1 -p1
dos2unix jwt/__main__.py