aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-11 23:33:30 +0100
committerMarius Bakke <marius@gnu.org>2022-01-12 23:50:14 +0100
commit0ec455bcc5bf39410b3115984ba3d679ee88ac87 (patch)
treee5e659fb6134938ba3ca006bde0a812a817a1c1f /gnu/packages
parentaa05f6a963ba2ec06e5daf1ecee054c0dfca77b3 (diff)
downloadguix-0ec455bcc5bf39410b3115984ba3d679ee88ac87.tar.gz
guix-0ec455bcc5bf39410b3115984ba3d679ee88ac87.zip
gnu: python-readme-renderer: Propagate python-cmarkgfm.
* gnu/packages/python-xyz.scm (python-readme-renderer)[propagated-inputs]: Add PYTHON-CMARKGFM.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm11
1 files changed, 10 insertions, 1 deletions
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")