gnu: python-h11: Respect "--without-tests".
* gnu/packages/python-web.scm (python-h11)[arguments]<#:phases>{check}: Respect #:tests?. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
a6e70f3f0c
commit
c46c8531dd
|
@ -908,8 +908,9 @@ for use in Python programs that implement HTTP/2.")
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "pytest" "-vv"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(home-page "https://github.com/python-hyper/h11")
|
||||
|
|
Reference in New Issue