summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-28 19:44:31 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-20 01:06:37 +0000
commitc4e7ae299e4dbd1d8c30ef32f0c8461760768df4 (patch)
tree8f8087a7a1f13f955202c38a5d7ba057cff4d083 /gnu
parenta8c7cfbd65356bedda59decefdc2dfd3e71735bf (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm46
1 files changed, 19 insertions, 27 deletions
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