mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 12:17:10 -05:00
gnu: python-helpdev: Enable tests.
* gnu/packages/python-xyz.scm (python-helpdev)[arguments]: Replace check phase. [native-inputs]: Add python-pytest.
This commit is contained in:
parent
8a2a5ad696
commit
9779d08982
1 changed files with 11 additions and 0 deletions
|
@ -23264,8 +23264,19 @@ (define-public python-helpdev
|
|||
(base32
|
||||
"0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "tests"))
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-importlib-metadata" ,python-importlib-metadata)))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(home-page "https://gitlab.com/dpizetta/helpdev")
|
||||
(synopsis
|
||||
"Extract information about the Python environment easily")
|
||||
|
|
Loading…
Reference in a new issue