gnu: python-asn1crypto: Respect #:tests?.

* gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]<check>: Honor
argument #:tests?.
This commit is contained in:
Hilton Chain 2023-08-24 12:41:04 +08:00
parent c49c43d44c
commit f5eb5b7cac
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -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