~ruther/guix-local

ec1fa9e288b7af24145bf0ebfe3fe75c79a1d49e — Nicolas Graves 3 months ago 222d23d
gnu: python-pdf2image: Replace python-nose by python-pynose.

* gnu/packages/python-xyz.scm (python-pdf2image)
[arguments]: Improve style.
[native-inputs]: Remove python-wheel.  Replace python-nose by
python-pynose.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +7 -6
@@ 12498,7 12498,6 @@ classes.  It is forked from @code{cached-property}.")
  (package
    (name "python-pdf2image")
    (version "1.17.0")
    ;; No tests in the PyPI tarball.
    (source
     (origin
       (method git-fetch)


@@ 12510,13 12509,15 @@ classes.  It is forked from @code{cached-property}.")
        (base32 "0xd8q939zqa8flfcdhbgyadiwqb8sgnd42cbr6n1l2jl9fnix45v"))))
    (build-system pyproject-build-system)
    (arguments
     ;; The following excluded tests assume hardcoded binary paths to
     ;; /usr/bin/pdftoppm and /usr/bin/pdftocairo.
     '(#:test-flags '("--exclude=^test_use_poppler_path$"
                      "--exclude=^test_use_poppler_path_with_trailing_slash$")))
     (list
      ;; The following excluded tests assume hardcoded binary paths to
      ;; /usr/bin/pdftoppm and /usr/bin/pdftocairo.
      #:test-flags
      #~(list "--exclude=^test_use_poppler_path$"
              "--exclude=^test_use_poppler_path_with_trailing_slash$")))
    (propagated-inputs (list python-pillow))
    (inputs (list poppler))
    (native-inputs (list python-nose which python-setuptools python-wheel))
    (native-inputs (list python-pynose which python-setuptools))
    (home-page "https://github.com/Belval/pdf2image")
    (synopsis
     "Python wrapper around @command{pdftoppm} and @command{pdftocairo}")