[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: python-joblib: Honor #:tests? flag.
From: |
guix-commits |
Subject: |
01/02: gnu: python-joblib: Honor #:tests? flag. |
Date: |
Tue, 26 Oct 2021 02:03:42 -0400 (EDT) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit 1aad42e24cc927cea34dd8e4ef49f8afdbd102e8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 26 09:00:45 2021 +0300
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(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f1b552d..cc724ed 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/")