mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: python-fire: Respect #:tests?
* gnu/packages/python-xyz.scm (python-fire)[arguments]: Respect #:tests? in the custom 'check' phase.
This commit is contained in:
parent
3fdb2d6792
commit
e61874a598
1 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,9 @@ (define-public python-fire
|
|||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "pytest"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(inputs
|
||||
`(("python-six", python-six)
|
||||
("python-termcolor", python-termcolor)))
|
||||
|
|
Loading…
Reference in a new issue