forked from pool/python-josepy
- update to 1.5.0:
* Added support for Python 3.9.
* Dropped support for Python 3.5.
* Stopped supporting running tests with ``python setup.py test`` which is
deprecated in favor of ``python -m pytest``.
* Deprecated support for Python 3.5.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-josepy?expand=0&rev=17
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-josepy
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define libname josepy
|
||||
Name: python-%{libname}
|
||||
Version: 1.3.0
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
Summary: JOSE protocol implementation in Python
|
||||
License: Apache-2.0
|
||||
@@ -67,7 +67,7 @@ rm pytest.ini
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} src/
|
||||
%pytest src/
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user