Archived
1
0
Fork 0

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:
Efraim Flashner 2021-10-26 09:00:45 +03:00
parent ffcc5395b7
commit 1aad42e24c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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/")