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

commit 1371780dd95780f5b63354d154948b8168b09e8d
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Oct 28 19:44:31 2025 +0100

    gnu: python-pillow: Remove some native-inputs.
    
    * gnu/packages/python-xyz.scm (python-pillow)
    [source, arguments]: Run guix style.
    <#:phases>: In phase 'check, remove add-installed-pythonpath call.
    [native-inputs]: Remove python-packaging, python-pytest-cov,
    python-pytest-timeout, python-wheel.
    
    Change-Id: I1fe174977ff94af61c77fdf52bf1e28adc4aa6fb
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 46 +++++++++++++++++++--------------------------
 1 file changed, 19 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0fcca70fec..cebe4851fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12755,41 +12755,33 @@ Python list with elements of type @code{PIL.Image} 
(from the
   (package
     (name "python-pillow")
     (version "11.1.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "pillow" version))
-              (sha256
-               (base32
-                "081abgpz7g013cgzz7pjhmf8m7q626ngza4hnfs76vdk104ag39n"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pillow" version))
+       (sha256
+        (base32 "081abgpz7g013cgzz7pjhmf8m7q626ngza4hnfs76vdk104ag39n"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'patch-ldconfig
-           (lambda _
-             (substitute* "setup.py"
-               (("\\['/sbin/ldconfig', '-p'\\]") "['true']"))))
-         (replace 'check
-           (lambda* (#:key outputs inputs tests? #:allow-other-keys)
-             (when tests?
-               (setenv "HOME"
-                       (getcwd))
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "selftest.py" "--installed")
-               (invoke "python" "-m" "pytest" "-vv")))))))
-    (native-inputs (list python-check-manifest
-                         python-coverage
-                         python-defusedxml
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-ldconfig
+            (lambda _
+              (substitute* "setup.py"
+                (("\\['/sbin/ldconfig', '-p'\\]") "['true']"))))
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (setenv "HOME" (getcwd))
+                (invoke "python" "selftest.py" "--installed")
+                (invoke "python" "-m" "pytest" "-vv")))))))
+    (native-inputs (list python-defusedxml
                          python-markdown2
                          python-olefile
-                         python-packaging
                          python-pytest
-                         python-pytest-cov
-                         python-pytest-timeout
                          python-setuptools
-                         python-trove-classifiers
-                         python-wheel))
+                         python-trove-classifiers))
     (inputs (list freetype
                   lcms
                   libjpeg-turbo

Reply via email to