me
/
guix
Archived
1
0
Fork 0

gnu: python-markupsafe: Honor #:tests in check phase.

* gnu/pacakges/python-xyz.scm (python-markupsafe)[arguments]: Honor #:tests flag.
Efraim Flashner 2021-08-09 13:51:30 +03:00
parent 830a47e85d
commit 70833c2ec8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 2 deletions

View File

@ -3757,8 +3757,9 @@ e.g. filters, callbacks and errbacks can all be promises.")
(arguments
`(#: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/mitsuhiko/markupsafe")