aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-11-20 19:03:39 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-11-20 20:40:21 +0100
commit9a42b1547d6151d03bd9fba5ec7ba38eeb9d5949 (patch)
tree811661a1da64f2798a8dc2e506f098568adfd1a6 /gnu/packages/python-xyz.scm
parent6a626eb83bcc8f2e843fa7244eca9f1e8754df4f (diff)
downloadguix-9a42b1547d6151d03bd9fba5ec7ba38eeb9d5949.tar.gz
guix-9a42b1547d6151d03bd9fba5ec7ba38eeb9d5949.zip
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 12 insertions, 0 deletions
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)))