me
/
guix
Archived
1
0
Fork 0

gnu: python-deprecated: Honor #:tests? flag.

* gnu/packages/python-xyz.scm (python-deprecated)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
master
Efraim Flashner 2021-10-27 20:05:15 +03:00
parent af4ce7bd41
commit a56b000745
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 3 additions and 2 deletions

View File

@ -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