[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-jedi: Allow test phase to be skipped.
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-jedi: Allow test phase to be skipped. |
Date: |
Thu, 04 Mar 2021 09:26:34 -0500 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new ab10e10 gnu: python-jedi: Allow test phase to be skipped.
ab10e10 is described below
commit ab10e1086cf1e36330a55d05ee438b097c9fd626
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 4 16:19:19 2021 +0200
gnu: python-jedi: Allow test phase to be skipped.
* gnu/packages/python-xyz.scm (python-jedi)[arguments]: Wrap custom
'check phase tests with check for tests? keyword.
---
gnu/packages/python-xyz.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d9de9bc..fbc9ad6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13945,9 +13945,11 @@ characters, mouse support, and auto suggestions.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (setenv "HOME" "/tmp")
- (invoke "python" "-m" "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "python" "-m" "pytest" "-vv"))
+ #t)))))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-docopt" ,python-docopt)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-jedi: Allow test phase to be skipped.,
guix-commits <=