From 1aad42e24cc927cea34dd8e4ef49f8afdbd102e8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 26 Oct 2021 09:00:45 +0300 Subject: gnu: python-joblib: Honor #:tests? flag. * gnu/packages/python-xyz.scm (python-joblib)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/python-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f1b552d007..cc724ed153 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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/") -- cgit v1.2.3