This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch python-team
in repository guix.

The following commit(s) were added to refs/heads/python-team by this push:
     new aaf1f020eb gnu: python-pillow-simd: Don't inherit from python-pillow.
aaf1f020eb is described below

commit aaf1f020eb1131dd451d9d5a34a9809af684a7a5
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue Sep 23 12:21:36 2025 +0100

    gnu: python-pillow-simd: Don't inherit from python-pillow.
    
    * gnu/packages/python-xyz.scm (python-pillow-simd): Don't inherit from
    python-pillow.
    [arguments] <test-flags>: Skip one more test.
    [inputs]: Add freetype, lcms, libimagequant, libjpeg-turbo, libraqm,
    libtiff, libwebp, openjpeg, and zlib.
    [native-inputs]: Add python-check-manifest, python-defusedxml,
    python-markdown2, python-olefile, python-packaging, python-pytest,
    python-pytest-timeout, python-setuptools, and python-trove-classifiers.
    
    Change-Id: Ie2473266b4d1447ece70b4da12cc17a9e7fbcf4a
---
 gnu/packages/python-xyz.scm | 46 ++++++++++++++++++++++++++++++++-------------
 1 file changed, 33 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36fb963c43..63b083cd9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12690,39 +12690,59 @@ and a plugin for Pillow.")
 
 (define-public python-pillow-simd
   (package
-    (inherit python-pillow)
     (name "python-pillow-simd")
     (version "10.0.1.post0")
-    ;; The PyPI tarball does not include test files.
     (source
      (origin
-       (method git-fetch)
+       (method git-fetch)       ;no tests in PyPI tarball
        (uri (git-reference
-             (url "https://github.com/uploadcare/pillow-simd";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/uploadcare/pillow-simd";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "16pr4qifb661spf58b7g2lyraask9wf944v4kwk3llg32djvb09b"))))
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:test-flags
       ;; Got different content.
       '(list "-k" (string-append "not test_open"
                                  " and not test_consistency_3x3"
-                                 " and not test_consistency_5x5"))
+                                 " and not test_consistency_5x5"
+                                 " and not test_close"))
       #:phases
       '(modify-phases %standard-phases
-         (add-after 'unpack 'patch-ldconfig
-           (lambda _
-             (substitute* "setup.py"
-               (("\\['/sbin/ldconfig', '-p'\\]") "['true']")))))))
+        (add-after 'unpack 'patch-ldconfig
+          (lambda _
+            (substitute* "setup.py"
+              (("\\['/sbin/ldconfig', '-p'\\]") "['true']")))))))
+    (native-inputs
+     (list python-check-manifest
+           python-defusedxml
+           python-markdown2
+           python-olefile
+           python-packaging
+           python-pytest
+           python-pytest-timeout
+           python-setuptools
+           python-trove-classifiers))
     (inputs
-     (modify-inputs (package-inputs python-pillow)
-       (prepend libraqm libimagequant)))
+     (list freetype
+           lcms
+           libimagequant
+           libjpeg-turbo
+           libraqm
+           libtiff
+           libwebp
+           openjpeg
+           zlib))
     (home-page "https://github.com/uploadcare/pillow-simd";)
     (synopsis "Fork of the Python Imaging Library (Pillow)")
     (description "This package is a fork of Pillow which adds support for SIMD
-parallelism.")))
+parallelism.")
+    (license (license:x11-style
+              "http://www.pythonware.com/products/pil/license.htm";
+              "The PIL Software License"))))
 
 (define-public python-pixelmatch
   (package

Reply via email to