gnu: python-wand: Update to 0.6.11.

* gnu/packages/python-xyz.scm (python-wand): Update to 0.6.11.
[arguments]: Override the 'check phase.
This commit is contained in:
Vinicius Monego 2023-01-29 07:59:47 -03:00
parent 7100720b58
commit e053fcd3e3
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -2083,13 +2083,13 @@ conventions and aliases in the same expression.")
(define-public python-wand (define-public python-wand
(package (package
(name "python-wand") (name "python-wand")
(version "0.6.10") (version "0.6.11")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "Wand" version)) (uri (pypi-uri "Wand" version))
(sha256 (sha256
(base32 "0mywzs235skwq670c80achrd34kangwy24793k1nij3651zllgrp")))) (base32 "15d9kxyc7qvknx0kv27m2jamnmisckyf89i7wlqykwgqm46p0qdn"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -2097,7 +2097,11 @@ conventions and aliases in the same expression.")
(add-after 'unpack 'find-magickwand (add-after 'unpack 'find-magickwand
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick")) (setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick"))
(setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16")))))) (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16")))
(replace 'check
(lambda _
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs (native-inputs
(list python-pytest)) (list python-pytest))
(inputs (inputs