guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: sphinx: Update minimum docutils versio


From: guix-commits
Subject: branch core-updates updated: gnu: sphinx: Update minimum docutils version to 0.19.
Date: Sun, 16 Apr 2023 11:40:09 -0400

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new e438a3b3dd gnu: sphinx: Update minimum docutils version to 0.19.
e438a3b3dd is described below

commit e438a3b3dd7f66a06ce758e3f802fd224e796e21
Author: Brian Cully <bjc@spork.org>
AuthorDate: Sun Apr 16 11:05:35 2023 -0400

    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>
---
 gnu/packages/sphinx.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]