summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2023-04-16 11:05:35 -0400
committerJulien Lepiller <julien@lepiller.eu>2023-04-16 17:21:38 +0200
commite438a3b3dd7f66a06ce758e3f802fd224e796e21 (patch)
tree5d00204b84dd2628f226149000ac572ee4b7ab8b /gnu/packages
parent55b4613e398f0c8a472d0f8021ef093bdc60ec43 (diff)
downloadguix-e438a3b3dd7f66a06ce758e3f802fd224e796e21.tar.gz
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/sphinx.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 203a4172dc..ff124717e8 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -794,7 +794,15 @@ scientific documentation.")
         (base32
          "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf"))))
     (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))
     (home-page "https://github.com/snide/sphinx_rtd_theme/")
     (synopsis "ReadTheDocs.org theme for Sphinx")