From 0ec455bcc5bf39410b3115984ba3d679ee88ac87 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 11 Jan 2022 23:33:30 +0100 Subject: gnu: python-readme-renderer: Propagate python-cmarkgfm. * gnu/packages/python-xyz.scm (python-readme-renderer)[propagated-inputs]: Add PYTHON-CMARKGFM. --- gnu/packages/python-xyz.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 39957f9396..825d747dd8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25809,11 +25809,20 @@ positioning, and keyboard input.") (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") -- cgit v1.2.3