From ec1fa9e288b7af24145bf0ebfe3fe75c79a1d49e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 29 Nov 2025 22:43:18 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6e9b4eca67671fb487e5e4e212fd96761254d26b..d54e50dcdb7c8b4e96846874575dff72aa85e856 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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}")