mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 19:39:34 +01: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 @@ software version simply.")
|
|||
(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…
Add table
Reference in a new issue