1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 14:55:55 +02:00

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>
This commit is contained in:
Maxime Devos
2021-07-08 17:24:22 +02:00
committed by Mathieu Othacehe
parent a6e70f3f0c
commit c46c8531dd
+3 -2
View File
@@ -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")