~ruther/guix-local

ae108725b9261b14381b6afdb16b61e1e8557542 — Nicolas Graves 4 months ago 609009e
gnu: python-pixelmatch: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-pixelmatch):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them for now, as I'm not able to
quickly diagnose the error.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-benchmark.
[description]: Improve style.

Change-Id: Ic63865d7d78ae49f06f953b460837f81daa9c361
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 19 insertions(+), 8 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +19 -8
@@ 12523,17 12523,28 @@ parallelism.")
    (version "0.3.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pixelmatch" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/whtsky/pixelmatch-py")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "16b0cz136dcmj4dbr505igpql8dmqmr9vni5nbaa5kygjfjkdynh"))))
    (build-system python-build-system)
    (native-inputs (list python-pillow))
        (base32 "0d4579hh5rwdh9djq5j9lf448x68c1iz80wavxiq7sxpmwm1j23a"))))
    (build-system pyproject-build-system)
    (arguments
     ;; XXX: PIL.UnidentifiedImageError despite images being present.
     (list #:tests? #f))
    (native-inputs
     (list python-poetry-core
           python-pillow
           python-pytest
           python-pytest-benchmark))
    (home-page "https://github.com/whtsky/pixelmatch-py")
    (synopsis "Pixel-level image comparison library")
    (description "This package provides a pixel-level image comparison library
for Python, originally created to compare screenshots in tests.  Its features
include accurate anti-aliased pixels detection and perceptual color difference
    (description
     "This package provides a pixel-level image comparison library for Python,
originally created to compare screenshots in tests.  Its features include
accurate anti-aliased pixels detection and perceptual color difference
metrics.")
    (license license:isc)))