gnu: img2pdf: Switch to pyproject, disable tests.

* gnu/packages/pdf.scm (img2pdf):
[arguments] <tests?>: Disable for now.
[propagated-inputs]: Move from here ...
[inputs]: ... to here.
[native-inputs]: Add python-setuptools.

Change-Id: I4dbf9f469bafd020a20e3a180b6ebc456981583e
This commit is contained in:
Sharlatan Hellseher 2025-12-18 20:51:27 +00:00
parent 3516819a95
commit 7ee70d0906
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1340,9 +1340,15 @@ the PDF pages.")
(uri (pypi-uri "img2pdf" version))
(sha256
(base32 "12gjd98gnx117d5v36gpw55iplgvm6bvd532gnfibg1jp2g2fvih"))))
(build-system python-build-system)
(propagated-inputs
(list python-pikepdf python-pillow
(build-system pyproject-build-system)
(arguments
;; TODO: See: <https://codeberg.org/guix/guix/issues/4932#issuecomment-9045882>.
(list #:tests? #f))
(native-inputs
(list python-setuptools))
(inputs
(list python-pikepdf
python-pillow
`(,python "tk")))
(home-page "https://gitlab.mister-muffin.de/josch/img2pdf")
(synopsis "Convert images to PDF via direct JPEG inclusion")