mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: python-readme-renderer: Propagate python-cmarkgfm.
* gnu/packages/python-xyz.scm (python-readme-renderer)[propagated-inputs]: Add PYTHON-CMARKGFM.
This commit is contained in:
parent
aa05f6a963
commit
0ec455bcc5
1 changed files with 10 additions and 1 deletions
|
@ -25809,11 +25809,20 @@ (define-public python-readme-renderer
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'loosen-cmarkgfm-dependency
|
||||||
|
(lambda _
|
||||||
|
;; Permit newer versions of cmarkgfm.
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("cmarkgfm>=0\\.5\\.0,<0\\.7\\.0")
|
||||||
|
"cmarkgfm>=0.5.0"))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests? (invoke "pytest" "-vv")))))))
|
(when tests? (invoke "pytest" "-vv")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-bleach python-docutils python-pygments))
|
(list python-bleach python-docutils python-pygments
|
||||||
|
|
||||||
|
;; Optional dependencies.
|
||||||
|
python-cmarkgfm)) ;required by postorius
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-mock python-pytest))
|
(list python-mock python-pytest))
|
||||||
(home-page "https://github.com/pypa/readme_renderer")
|
(home-page "https://github.com/pypa/readme_renderer")
|
||||||
|
|
Loading…
Reference in a new issue