14
0
forked from pool/python-PyJWT

Accepting request 298615 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/298615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyJWT?expand=0&rev=3
This commit is contained in:
2015-04-23 06:05:14 +00:00
committed by Git OBS Bridge
4 changed files with 36 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:040ce47ef091e7030ec9490633e0c3c768ab9bc4e820477f2edd5736bb87a347
size 8070

3
PyJWT-1.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:206f1824feefcdb132dc121ef9b3d036cd2162d602eab84f0f36f91facf86373
size 40283

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
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
- Simplify dependencies (only python-cryptography is needed, pycrypto and ecdsa
are just fallbacks whet is is not)
-------------------------------------------------------------------
Mon Apr 20 11:56:59 UTC 2015 - mcihar@suse.cz
- Enable testsuite during build
-------------------------------------------------------------------
Mon Apr 20 11:55:52 UTC 2015 - mcihar@suse.cz
- Update to 1.1.0
-------------------------------------------------------------------
Thu Nov 6 09:08:37 UTC 2014 - mcihar@suse.cz

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
@@ -25,10 +25,14 @@ License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz
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
Requires: python-ecdsa
Requires: python-pycrypto
Requires: python-cryptography
%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
@@ -47,6 +51,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc README.md