guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: python-ecdsa: Actually run the test suite.


From: guix-commits
Subject: 02/03: gnu: python-ecdsa: Actually run the test suite.
Date: Wed, 18 Dec 2019 03:29:46 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 92fe25130c1521d3976e1053fc50be38b72ecc55
Author: Efraim Flashner <address@hidden>
Date:   Wed Dec 18 09:54:47 2019 +0200

    gnu: python-ecdsa: Actually run the test suite.
    
    * gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: Replace
    'check phase.
    [native-inputs]: Add python-pytest.
---
 gnu/packages/python-crypto.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 65594a5..63d3be1 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -240,10 +240,16 @@ Python interface around SSH networking concepts.")
        (sha256
         (base32 "13nx5cbfxc0gnax5zwdmp9xc40qd1llk62mv85jyrvqkbw017ik4"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "pytest"))))))
     (propagated-inputs
      `(("python-six" ,python-six)))
     (native-inputs
-     `(("openssl" ,openssl)))
+     `(("openssl" ,openssl)
+       ("python-pytest" ,python-pytest)))
     (home-page "https://github.com/warner/python-ecdsa";)
     (synopsis "ECDSA cryptographic signature library (pure python)")
     (description



reply via email to

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