Accepting request 1237992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237992 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-securesystemslib?expand=0&rev=4
This commit is contained in:
commit
d5090404ba
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 17:00:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Remove ed25519 tests to avoid that module in Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 07:30:30 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-securesystemslib
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -26,7 +26,6 @@ Source: securesystemslib-%{version}.tar.xz
|
||||
BuildRequires: %{python_module PyKCS11}
|
||||
BuildRequires: %{python_module asn1crypto}
|
||||
BuildRequires: %{python_module cryptography >= 3.3.2}
|
||||
BuildRequires: %{python_module ed25519}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@ -59,9 +58,10 @@ rm -rf %{buildroot}%{$python_sitelib}/securesystemslib/_vendor/ed25519/.gitignor
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
donttest="test_ed25519_kat or test_checkparams"
|
||||
# spinhcs+ key support requires the pyspx library
|
||||
donttest+=" or test_sphincs"
|
||||
donttest="test_sphincs"
|
||||
# remove the ed25519 tests, the module is "Not Recommended For New Applications: Use pynacl Instead"
|
||||
rm securesystemslib/_vendor/ed25519/test_ed25519.py
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
Reference in New Issue
Block a user