gnu: python-markupsafe: Honor #:tests in check phase.
* gnu/pacakges/python-xyz.scm (python-markupsafe)[arguments]: Honor #:tests flag.
parent
830a47e85d
commit
70833c2ec8
|
@ -3757,8 +3757,9 @@ e.g. filters, callbacks and errbacks can all be promises.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest" "-vv"))))))
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(home-page "https://github.com/mitsuhiko/markupsafe")
|
(home-page "https://github.com/mitsuhiko/markupsafe")
|
||||||
|
|
Reference in New Issue