gnu: python-pillow-simd: Disable one broken test.

* gnu/packages/python-xyz.scm (python-pillow-simd)[build-system]: Use
pyproject-build-system.
[arguments]: Disable failing test_sanity test; copy only the 'patch-ldconfig
phase from python-pillow, drop the custom 'check phase.

Change-Id: Ic9a4f76ebcdc7aba21231aecd641930cf5f5b4de
This commit is contained in:
Ricardo Wurmus 2024-11-20 19:03:39 +01:00
parent 6a626eb83b
commit 9a42b1547d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -10444,6 +10444,18 @@ a general image processing tool.")
(file-name (git-file-name name version))
(sha256
(base32 "13wwq7slw2q9djh7n39qdmlrzd9k3x7hdr36wk8qbgp3b6bcgvj6"))))
(build-system pyproject-build-system)
(arguments
(list
;; This test fails because it cannot find the zlib version string
;; "1.3.1".
#:test-flags '(list "-k not test_sanity")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'patch-ldconfig
(lambda _
(substitute* "setup.py"
(("\\['/sbin/ldconfig', '-p'\\]") "['true']")))))))
(inputs
(modify-inputs (package-inputs python-pillow)
(prepend libraqm libimagequant)))