diff options
author | Hilton Chain <hako@ultrarare.space> | 2023-08-24 12:41:04 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2023-08-24 12:41:04 +0800 |
commit | f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506 (patch) | |
tree | 35c57173f044fa32af3eb5e680ffa2f604fa3fa1 /gnu | |
parent | c49c43d44c45015dc7ef251a171a48bdba0b8b5a (diff) | |
download | guix-f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506.tar.gz guix-f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506.zip |
gnu: python-asn1crypto: Respect #:tests?.
* gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]<check>: Honor
argument #:tests?.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-crypto.scm | 5 |
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 |