GNU bug report logs - #64361
[PATCH] gnu: python-wand: Fix build.

Previous Next

Package: guix-patches;

Reported by: Hilton Chain <hako <at> ultrarare.space>

Date: Fri, 30 Jun 2023 07:58:02 UTC

Severity: normal

Tags: patch

Done: Bruno Victal <mirai <at> makinata.eu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 64361 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 64361 <at> debbugs.gnu.org
Cc: Hilton Chain <hako <at> ultrarare.space>
Subject: [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_ <at> 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





This bug report was last modified 1 year and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.