forked from pool/python-PyJWT
Accepting request 342558 from home:TheBlackCat:branches:devel:languages:python
Update to 1.4.0 OBS-URL: https://build.opensuse.org/request/show/342558 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=11
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-PyJWT
|
||||
Version: 1.1.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Url: https://github.com/progrium/pyjwt
|
||||
Summary: JSON Web Token implementation in Python
|
||||
@@ -33,8 +33,11 @@ BuildRequires: python-ecdsa
|
||||
BuildRequires: python-pycrypto
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-pytest-cov
|
||||
BuildRequires: python-pytest-runner
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-cryptography
|
||||
Requires: python-ecdsa
|
||||
Requires: python-pycrypto
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
@@ -57,12 +60,12 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
PYTHONPATH=%{buildroot}%{python_sitelib} py.test -k "not test_verify_false_deprecated"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%doc AUTHORS CHANGELOG.md LICENSE README.md
|
||||
%{python_sitelib}/*
|
||||
/usr/bin/jwt
|
||||
%{_bindir}/jwt
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user