diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-23 12:21:36 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:58 +0100 |
| commit | c3744a8ba14a8f54c1cc4ec3fbc49e4e6b915520 (patch) | |
| tree | 4b5e4b7faedeb189d925d7165a812e294fc9aeef /gnu/packages/python-xyz.scm | |
| parent | 10607db36174472c6366ecbdeacfecc57913189c (diff) | |
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 73488f2fe4..c757b49eb0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12666,39 +12666,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 |
