mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05: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:
parent
a6e70f3f0c
commit
c46c8531dd
1 changed files with 3 additions and 2 deletions
|
@ -908,8 +908,9 @@ (define-public python-h11
|
|||
`(#: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")
|
||||
|
|
Loading…
Reference in a new issue