guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: python-asn1crypto: Respect #:tests?.


From: guix-commits
Subject: 02/04: gnu: python-asn1crypto: Respect #:tests?.
Date: Thu, 24 Aug 2023 01:07:39 -0400 (EDT)

hako pushed a commit to branch master
in repository guix.

commit f5eb5b7cacd388ad60606163b2fe2a4d0f0c2506
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Thu Aug 24 12:41:04 2023 +0800

    gnu: python-asn1crypto: Respect #:tests?.
    
    * gnu/packages/python-crypto.scm (python-asn1crypto)[#:phases]<check>: Honor
    argument #:tests?.
---
 gnu/packages/python-crypto.scm | 5 +++--
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]