gnu: python-joblib: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-joblib)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
ffcc5395b7
commit
1aad42e24c
1 changed files with 3 additions and 1 deletions
|
@ -4008,7 +4008,9 @@ logic-free templating system Mustache.")
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "pytest" "-v" "joblib"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-v" "joblib")))))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(home-page "https://joblib.readthedocs.io/")
|
||||
|
|
Reference in a new issue