gnu: python-deprecated: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-deprecated)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.master
parent
af4ce7bd41
commit
a56b000745
|
@ -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
|
||||
|
|
Reference in New Issue