15
0

Accepting request 832630 from devel:languages:python

- Use constraints on the cryptography dependency

- update to upstream release 0.8
  * Fix some documentation typos
  * Rename ambiguous variable
  * Remove cap on sphinx version
  * Fix okp key type import
  * Add method to export Keys ans Sets as dictionaries
  * Typo rectified
  * Add secp256k1 curve

OBS-URL: https://build.opensuse.org/request/show/832630
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jwcrypto?expand=0&rev=9
This commit is contained in:
2020-09-09 15:48:09 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 9 deletions

View File

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

3
jwcrypto-0.8.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sun Sep 6 19:25:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Use constraints on the cryptography dependency
-------------------------------------------------------------------
Sun Sep 6 14:51:40 UTC 2020 - Michael Ströder <michael@stroeder.com>
- update to upstream release 0.8
* Fix some documentation typos
* Rename ambiguous variable
* Remove cap on sphinx version
* Fix okp key type import
* Add method to export Keys ans Sets as dictionaries
* Typo rectified
* Add secp256k1 curve
-------------------------------------------------------------------
Mon Mar 30 08:15:59 UTC 2020 - Michael Ströder <michael@stroeder.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jwcrypto
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jwcrypto
Version: 0.7
Version: 0.8
Release: 0
Summary: Python module package implementing JOSE Web standards
License: LGPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/latchset/jwcrypto
Source: https://files.pythonhosted.org/packages/source/j/jwcrypto/jwcrypto-%{version}.tar.gz
BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module cryptography >= 2.3}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography
Requires: python-cryptography >= 2.3
BuildArch: noarch
%python_subpackages
@@ -55,7 +54,7 @@ rm -rv %{buildroot}%{_datadir}/doc/jwcrypto
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand py.test-%{$python_bin_suffix} jwcrypto
%pytest jwcrypto
%files %{python_files}
%{python_sitelib}/*