guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64361] [PATCH v2] gnu: python-wand: Honor #:tests? argument.


From: Hilton Chain
Subject: [bug#64361] [PATCH v2] gnu: python-wand: Honor #:tests? argument.
Date: Mon, 17 Jul 2023 20:43:55 +0800

Fixes <https://issues.guix.gnu.org/64350>.

* gnu/packages/python-xyz.scm (python-wand)[arguments]<#:phases>: Pass keyword
argument #:tests? to 'check.

Reported-by: Thorsten Wilms <t_w_@freenet.de>
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 973216c5ed..f07ae0b1f9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2446,7 +2446,7 @@ (define-public python-wand
              (setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick"))
              (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16")))
          (replace 'check
-           (lambda _
+           (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (invoke "pytest" "-vv")))))))
     (native-inputs

base-commit: ad08f9331fee7a8e71e94b02f86f54ab3e1001a8
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]