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)
|
||||
(arguments
|
||||
'(#: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
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests? (invoke "pytest" "-vv")))))))
|
||||
(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
|
||||
(list python-mock python-pytest))
|
||||
(home-page "https://github.com/pypa/readme_renderer")
|
||||
|
|
Loading…
Reference in a new issue