mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: python-pypandoc: Adjust package style, fix build.
* gnu/packages/python-xyz.scm (python-pypandoc): Use G-expressions, shift order of entries, remove labels from inputs. [build-system]: Swap to pyproject-build-system. [native-inputs]: Add python-poetry-core, texlive-etoolbox. Change-Id: Ib4eac5fde9d56fffd7bd18a11cf653d05d5ff45b
This commit is contained in:
parent
84339e1fb5
commit
725e57a56a
1 changed files with 16 additions and 14 deletions
|
@ -32413,23 +32413,25 @@ (define-public python-pypandoc
|
|||
(sha256
|
||||
(base32
|
||||
"0l6a8ngzpx363q2jskxxkx6psfhqrvc4js80dmn16r3vw6m2cb40"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'disable-tests
|
||||
(lambda _
|
||||
;; Disable test requiring network access
|
||||
(substitute* "tests.py"
|
||||
(("test_basic_conversion_from_http_url")
|
||||
"skip_test_basic_conversion_from_http_url")))))))
|
||||
(native-inputs
|
||||
(list python-poetry-core
|
||||
(texlive-updmap.cfg
|
||||
(list texlive-etoolbox texlive-lm texlive-xcolor))))
|
||||
(inputs
|
||||
(list pandoc python-pandocfilters))
|
||||
(propagated-inputs
|
||||
`(("wheel" ,python-wheel)))
|
||||
(native-inputs
|
||||
`(("texlive" ,(texlive-updmap.cfg (list texlive-lm texlive-xcolor)))))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'disable-tests
|
||||
(lambda _
|
||||
;; Disable test requiring network access
|
||||
(substitute* "tests.py"
|
||||
(("test_basic_conversion_from_http_url")
|
||||
"skip_test_basic_conversion_from_http_url"))
|
||||
#t)))))
|
||||
(list python-wheel))
|
||||
(home-page "https://github.com/bebraw/pypandoc")
|
||||
(synopsis "Python wrapper for pandoc")
|
||||
(description "pypandoc is a thin Python wrapper around pandoc
|
||||
|
|
Loading…
Reference in a new issue