me
/
guix
Archived
1
0
Fork 0

gnu: python-pypandoc: Upgrade to 1.7.5.

The tests of python-pypandoc 1.6.5 fail; these are fixed in 1.7.5:
6670e906dc

The tests of later versions of python-pypandoc also fail though:
https://github.com/JessicaTegner/pypandoc/pull/327

Finally, python-pypandoc requires the pandoc data to be embeded in
the binary:
https://github.com/jgm/pandoc/blob/main/INSTALL.md#creating-a-relocatable-binary

* gnu/packages/python-xyz.scm (python-pypandoc): Upgrade to 1.7.5
* gnu/packages/haskel-xyz.scm (pandoc): Embed data files.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Hugo Buddelmeijer 2023-03-06 21:23:13 +01:00 committed by Ludovic Courtès
parent 6a23ef814a
commit 2120c768f2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 6 additions and 3 deletions

View File

@ -8315,6 +8315,9 @@ provided for those who need a drop-in replacement for Markdown.pl.")
(name "pandoc") (name "pandoc")
(arguments (arguments
(list (list
;; Create entirely self-contained binary by embedding the data files
;; in the binary itself. Required for python-pypandoc.
#:configure-flags #~(list "-fembed_data_files")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'register 'remove-libraries (add-after 'register 'remove-libraries

View File

@ -27787,17 +27787,17 @@ 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.6.4") (version "1.7.5")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pypandoc" version)) (uri (pypi-uri "pypandoc" version))
(sha256 (sha256
(base32 (base32
"149basv4pvzg9zm74cjz68x8s2n5fykyj7prgysb0qfmja73r83f")))) "0l6a8ngzpx363q2jskxxkx6psfhqrvc4js80dmn16r3vw6m2cb40"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
(list pandoc)) (list pandoc python-pandocfilters))
(propagated-inputs (propagated-inputs
`(("wheel" ,python-wheel))) `(("wheel" ,python-wheel)))
(native-inputs (native-inputs