[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: python-pillow-simd: Disable one broken test.
From: |
guix-commits |
Subject: |
02/04: gnu: python-pillow-simd: Disable one broken test. |
Date: |
Wed, 20 Nov 2024 14:41:06 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 9a42b1547d6151d03bd9fba5ec7ba38eeb9d5949
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Nov 20 19:03:39 2024 +0100
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)))