From 9a42b1547d6151d03bd9fba5ec7ba38eeb9d5949 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 20 Nov 2024 19:03:39 +0100 Subject: 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 --- gnu/packages/python-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3047d5540d..e40d5861e1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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))) -- cgit v1.2.3