gnu: sphinx: Update minimum docutils version to 0.19.

* gnu/packages/sphinx.scm (python-sphinx-rtd-theme)[allow-newer-docutil]: New
phase.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Brian Cully 2023-04-16 11:05:35 -04:00 committed by Julien Lepiller
parent 55b4613e39
commit e438a3b3dd
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -794,7 +794,15 @@ (define-public python-sphinx-rtd-theme
(base32 (base32
"0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf")))) "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf"))))
(build-system python-build-system) (build-system python-build-system)
(arguments '(#:tests? #f)) ; No tests. (arguments
(list
#:tests? #f ; No tests.
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'allow-newer-docutil
(lambda _
(substitute* "setup.py"
(("docutils<0.18") "docutils<0.20")))))))
(propagated-inputs (list python-docutils python-sphinx)) (propagated-inputs (list python-docutils python-sphinx))
(home-page "https://github.com/snide/sphinx_rtd_theme/") (home-page "https://github.com/snide/sphinx_rtd_theme/")
(synopsis "ReadTheDocs.org theme for Sphinx") (synopsis "ReadTheDocs.org theme for Sphinx")