[packages/python-cryptography] - disable python3 module build - disable tests for unsupported algorithms
baggins
baggins at pld-linux.org
Sun Oct 10 11:53:57 CEST 2021
commit c9ed3111abfccea87bd8f840a33db657f300ef5a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 10 11:53:22 2021 +0200
- disable python3 module build
- disable tests for unsupported algorithms
python-cryptography.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-cryptography.spec b/python-cryptography.spec
index be3b4a9..a641324 100644
--- a/python-cryptography.spec
+++ b/python-cryptography.spec
@@ -1,7 +1,7 @@
#
# Conditional build:
%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
+%bcond_with python3 # CPython 3.x module
%bcond_without doc # Sphinx documentation
%bcond_without tests # unit test
@@ -133,6 +133,10 @@ Dokumentacja API modułu cryptography.
%setup -q -n cryptography-%{version} %{?with_tests:-a1}
%patch0 -p1
+# Do not tests legacy, disabled by default algorithms
+# See man OSSL_PROVIDER-legacy(7)
+%{__rm} tests/hazmat/primitives/test_{arc4,blowfish,cast5,idea,seed}.py
+
%if %{with tests}
%{__mv} cryptography_vectors-%{version}/cryptography_vectors .
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cryptography.git/commitdiff/c9ed3111abfccea87bd8f840a33db657f300ef5a
More information about the pld-cvs-commit
mailing list