me
/
guix
Archived
1
0
Fork 0

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
Maxime Devos 2021-07-08 17:24:22 +02:00 committed by Mathieu Othacehe
parent a6e70f3f0c
commit c46c8531dd
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 2 deletions

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")