summary refs log tree commit diff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2023-08-24 12:41:04 +0800
committerHilton Chain <hako@ultrarare.space>2023-08-24 12:41:04 +0800
commitf5eb5b7cacd388ad60606163b2fe2a4d0f0c2506 (patch)
tree35c57173f044fa32af3eb5e680ffa2f604fa3fa1 /gnu/packages/python-crypto.scm
parentc49c43d44c45015dc7ef251a171a48bdba0b8b5a (diff)
downloadguix-f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506.tar.gz
gnu: python-asn1crypto: Respect #:tests?.
* gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]<check>: Honor
argument #:tests?.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm5
1 files changed, 3 insertions, 2 deletions
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