gnu: python-wand: Fix build.

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

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

Reported-by: Thorsten Wilms <t_w_@freenet.de>
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Hilton Chain 2023-06-30 15:56:45 +08:00 committed by Tobias Geerinckx-Rice
parent f858d5c8a5
commit 13cb9b3028
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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