From c4e7ae299e4dbd1d8c30ef32f0c8461760768df4 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 28 Oct 2025 19:44:31 +0100 Subject: 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 --- gnu/packages/python-xyz.scm | 46 +++++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 27 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c57c003826a..1b5617bb384 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12486,41 +12486,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 -- cgit v1.3