mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
gnu: python-deprecated: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-deprecated)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
af4ce7bd41
commit
a56b000745
1 changed files with 3 additions and 2 deletions
|
@ -4362,8 +4362,9 @@ (define-public python-deprecated
|
|||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "pytest"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest")))))))
|
||||
(propagated-inputs
|
||||
`(("python-wrapt" ,python-wrapt)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue