Accepting request 854255 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/854255 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rsa?expand=0&rev=19
This commit is contained in:
commit
68ac56b4df
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 9 10:45:29 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Remove mypy test requirement. The test calls mypy via its API.
|
||||||
|
But mypy as importable module is only available for the default
|
||||||
|
python3 flavor. For packaging, we don't need to run the static
|
||||||
|
type checker at all.
|
||||||
|
- Remove mock requirement.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 16 21:04:02 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
Sun Aug 16 21:04:02 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-rsa
|
Name: python-rsa
|
||||||
Version: 4.6
|
Version: 4.6
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -34,8 +35,6 @@ Requires(pre): coreutils
|
|||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module mypy}
|
|
||||||
BuildRequires: %{python_module pyasn1 >= 0.1.3}
|
BuildRequires: %{python_module pyasn1 >= 0.1.3}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@ -73,7 +72,8 @@ export LC_ALL=en_US.utf8
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LC_ALL=en_US.utf8
|
export LC_ALL=en_US.utf8
|
||||||
%pytest
|
# don't run the static type checker test -- mypy is only available for the default python3 flavor
|
||||||
|
%pytest --ignore tests/test_mypy.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -84,6 +84,7 @@ export LC_ALL=en_US.utf8
|
|||||||
%python_alternative %{_bindir}/pyrsa-priv2pub
|
%python_alternative %{_bindir}/pyrsa-priv2pub
|
||||||
%python_alternative %{_bindir}/pyrsa-sign
|
%python_alternative %{_bindir}/pyrsa-sign
|
||||||
%python_alternative %{_bindir}/pyrsa-verify
|
%python_alternative %{_bindir}/pyrsa-verify
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/rsa
|
||||||
|
%{python_sitelib}/rsa-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user