From f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 24 Aug 2023 12:41:04 +0800 Subject: gnu: python-asn1crypto: Respect #:tests?. * gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]: Honor argument #:tests?. --- gnu/packages/python-crypto.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 3d347fee0b..e6483996fd 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -750,8 +750,9 @@ ECB and OFB).") (arguments '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "python" "run.py" "tests")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "run.py" "tests"))))))) (home-page "https://github.com/wbond/asn1crypto") (synopsis "ASN.1 parser and serializer in Python") (description -- cgit v1.2.3