mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: python-pgpy: Run the tests.
* gnu/packages/python-crypto.scm (python-pgpy)[arguments]: Replace the default ‘check’ phase. [native-inputs]: Add python-pytest.
This commit is contained in:
parent
642647ae93
commit
ed0e8c7cc9
1 changed files with 8 additions and 0 deletions
|
@ -1545,9 +1545,17 @@ (define-public python-pgpy
|
|||
(sha256
|
||||
(base32 "11rrq15gmn6qbahli7czflfcngjl7zyybjlvk732my6axnf2d754"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(native-inputs
|
||||
`(("python-cryptography" ,python-cryptography)
|
||||
("python-pyasn1" ,python-pyasn1)
|
||||
("python-pytest" ,python-pytest)
|
||||
("python-singledispatch" ,python-singledispatch)
|
||||
("python-six" ,python-six)
|
||||
("python-wheel" ,python-wheel)))
|
||||
|
|
Loading…
Reference in a new issue