gnu: python-ecdsa: Actually run the test suite.

* gnu/packages/python-crypto.scm (python-ecdsa)[arguments]: Replace
'check phase.
[native-inputs]: Add python-pytest.
This commit is contained in:
Efraim Flashner 2019-12-18 09:54:47 +02:00
parent c57b8419f4
commit 92fe25130c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -240,10 +240,16 @@ (define-public python-ecdsa
(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