forked from pool/python-PyJWT
Accepting request 298613 from home:Nijel:branches:devel:languages:python
- Include pycrypto and ecdsa in BuildRequires for complete test coverage - Use setup.py test to execute testsuite OBS-URL: https://build.opensuse.org/request/show/298613 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
8bfb1d5bcc
commit
f8b165fc3d
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 14:01:31 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Include pycrypto and ecdsa in BuildRequires for complete test coverage
|
||||
- Use setup.py test to execute testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 11:14:42 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
|
@@ -27,6 +27,8 @@ Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-cryptography
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-ecdsa
|
||||
BuildRequires: python-pycrypto
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-pytest-cov
|
||||
BuildRequires: python-setuptools
|
||||
@@ -50,7 +52,7 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
py.test .
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user