gnu: pypandoc: Update to 1.14

* gnu/packages/python-xyz.scm (python-pypandoc): Update to 1.14

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Aaron Covrig 2024-10-24 19:33:31 -04:00 committed by Ludovic Courtès
parent 508bb5afc4
commit bc17ba46a6
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -155,6 +155,7 @@
;;; Copyright © 2024 David Elsing <david.elsing@posteo.net> ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com> ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com>
;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net> ;;; Copyright © 2024 Peter Kannewitz <petre-vps@posteo.net>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -32638,33 +32639,34 @@ By default it uses the open Python vulnerability database Safety DB.")
(define-public python-pypandoc (define-public python-pypandoc
(package (package
(name "python-pypandoc") (name "python-pypandoc")
(version "1.7.5") (version "1.14")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pypandoc" version)) (uri (pypi-uri "pypandoc" version))
(sha256 (sha256
(base32 (base32 "15x161bxr7hky7rvq0jlgf1kxg6vdf069487casmpyxry7slak3b"))))
"0l6a8ngzpx363q2jskxxkx6psfhqrvc4js80dmn16r3vw6m2cb40"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list `(#:phases (modify-phases %standard-phases
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'disable-tests (add-before 'check 'disable-tests
(lambda _ (lambda _
;; Disable test requiring network access
(substitute* "tests.py" (substitute* "tests.py"
;; Disable test requiring network access
(("test_basic_conversion_from_http_url") (("test_basic_conversion_from_http_url")
"skip_test_basic_conversion_from_http_url"))))))) "skip_test_basic_conversion_from_http_url")
(native-inputs ;; Disable tests with missing files
(list python-poetry-core (("test_basic_conversion_from_file_pattern")
(texlive-updmap.cfg "skip_test_basic_conversion_from_file_pattern")
(list texlive-etoolbox texlive-lm texlive-xcolor)))) (("test_conversion_with_data_files")
(inputs "skip_test_conversion_with_data_files")) #t)))))
(list pandoc python-pandocfilters)) ;; Ideally, we would supersede texlive-xpatch with texlive-regexpatch once
(propagated-inputs ;; the missing etoolbox.sty file is added
(list python-wheel)) (native-inputs (list python-poetry-core
(texlive-updmap.cfg (list texlive-xpatch texlive-lm
texlive-xcolor))))
(inputs (list pandoc python-pandocfilters))
(propagated-inputs (list python-wheel))
(home-page "https://github.com/bebraw/pypandoc") (home-page "https://github.com/bebraw/pypandoc")
(synopsis "Python wrapper for pandoc") (synopsis "Python wrapper for pandoc")
(description "pypandoc is a thin Python wrapper around pandoc (description "pypandoc is a thin Python wrapper around pandoc