~ruther/guix-local

7ee70d09069df3c02afe1619774b043c54bc2cd9 — Sharlatan Hellseher 2 months ago 3516819
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
1 files changed, 9 insertions(+), 3 deletions(-)

M gnu/packages/pdf.scm
M gnu/packages/pdf.scm => gnu/packages/pdf.scm +9 -3
@@ 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")