gnu: python-h2: Respect "--without-tests".
* gnu/packages/python-web.scm (python-h2)[arguments]<#:phases>{check}: Respect #:tests?. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
c46c8531dd
commit
f78975c8e0
|
@ -937,9 +937,10 @@ and that could be anything you want.")
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "-vv" "test"))))))
|
||||
(invoke "pytest" "-vv" "test")))))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(propagated-inputs
|
||||
|
|
Reference in New Issue