Subject: bug#62885: closed (Re: [bug#62885] [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 16 Apr 2023 15:48:02 +0000

Your bug report

#62885: [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62885: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62885
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#62885] [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20
From: Julien Lepiller <[email-masked]>
To: Brian Cully via Guix-patches via <[email-masked]>
Cc: [email-masked], Brian Cully <[email-masked]>
Date: Sun, 16 Apr 2023 17:46:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Le Sun, 16 Apr 2023 11:09:46 -0400,
Brian Cully via Guix-patches via <[email-masked]> a écrit :

> Sorry, the last patch was broken because I had it based off a WIP
> patch updating to 1.2.0. This version works with the existing 1.0.0
> version of rtd-themes.
> 

Thanks, pushed to core-updates as
e438a3b3dd7f66a06ce758e3f802fd224e796e21.

Subject: [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20
From: Brian Cully <[email-masked]>
To: [email-masked]
Cc: Brian Cully <[email-masked]>
Date: Sun, 16 Apr 2023 10:22:01 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/sphinx.scm (python-sphinx-rtd-theme) [allow-newer-docutil]: new
phase.
---
 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..9a8ad1b2c3 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -794,7 +794,15 @@ (define-public python-sphinx-rtd-theme
         (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.cfg"
+                (("docutils <0.19") "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")
-- 
2.39.2