14
0
forked from pool/python-PyJWT

Accepting request 298169 from home:Nijel:branches:devel:languages:python

- Enable testsuite during build

- Update to 1.1.0

OBS-URL: https://build.opensuse.org/request/show/298169
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=5
This commit is contained in:
Michal Čihař
2015-04-20 13:28:09 +00:00
committed by Git OBS Bridge
parent 0196f4c1b3
commit e692e8fd72
4 changed files with 22 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyJWT
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-PyJWT
Version: 0.3.0
Version: 1.1.0
Release: 0
Url: https://github.com/progrium/pyjwt
Summary: JSON Web Token implementation in Python
@@ -26,6 +26,10 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-ecdsa
BuildRequires: python-pycrypto
BuildRequires: python-pytest
BuildRequires: python-pytest-cov
BuildRequires: python-setuptools
Requires: python-ecdsa
Requires: python-pycrypto
@@ -47,6 +51,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
py.test .
%files
%defattr(-,root,root,-)
%doc README.md