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

Previous Next

Package: guix-patches;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Sun, 16 Apr 2023 14:23:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62885 in the body.
You can then email your comments to 62885 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62885; Package guix-patches. (Sun, 16 Apr 2023 14:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Cully <bjc <at> spork.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 16 Apr 2023 14:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Cully <bjc <at> spork.org>
To: guix-patches <at> gnu.org
Cc: Brian Cully <bjc <at> spork.org>
Subject: [PATCH core-updates] gnu: sphinx: Update minimum docutils version to
 0.20
Date: Sun, 16 Apr 2023 10:22:01 -0400
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#62885; Package guix-patches. (Sun, 16 Apr 2023 15:10:01 GMT) Full text and rfc822 format available.

Message #8 received at 62885 <at> debbugs.gnu.org (full text, mbox):

From: Brian Cully <bjc <at> spork.org>
To: 62885 <at> debbugs.gnu.org
Subject: Re: bug#62885: [PATCH core-updates] gnu: sphinx: Update minimum
 docutils version to 0.20
Date: Sun, 16 Apr 2023 11:09:46 -0400
[Message part 1 (text/plain, inline)]
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.

[v2-0001-gnu-sphinx-Update-minimum-docutils-version-to-0.1.patch (text/x-patch, inline)]
From 1b6da890e93adf22a1c7a126d45fa67a69be18cc Mon Sep 17 00:00:00 2001
Message-Id: <1b6da890e93adf22a1c7a126d45fa67a69be18cc.1681657627.git.bjc <at> spork.org>
From: Brian Cully <bjc <at> spork.org>
Date: Sun, 16 Apr 2023 11:05:35 -0400
Subject: [PATCH core-updates v2] gnu: sphinx: Update minimum docutils version
 to 0.19

 * 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..ff124717e8 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.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")

base-commit: 60594711e944413ac0d18687cce6828707ca8ecf
prerequisite-patch-id: 3a0a1be9df9a40370ebadd64ad6163c1a4f2bc4d
prerequisite-patch-id: 04bc0329678ccd5fe51be207d86dc8a4ce969c8b
prerequisite-patch-id: 7edab399c6512d85ed849f0877ccc9602888f1c8
prerequisite-patch-id: 8c0239d2d0daa07bb45e8d79f26ad8fe17e9133f
prerequisite-patch-id: e17b1dadacd103e25ccdd731e124aebe7a56c546
prerequisite-patch-id: 2379d2991c694d829d2741a71e098056a6e67e6e
prerequisite-patch-id: 5fd558398a9574cbc242f82a38fe1df200e16373
-- 
2.39.2


Information forwarded to guix-patches <at> gnu.org:
bug#62885; Package guix-patches. (Sun, 16 Apr 2023 15:48:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Brian Cully via Guix-patches via <guix-patches <at> gnu.org>
Cc: 62885-done <at> debbugs.gnu.org, Brian Cully <bjc <at> spork.org>
Subject: Re: [bug#62885] [PATCH core-updates] gnu: sphinx: Update minimum
 docutils version to 0.20
Date: Sun, 16 Apr 2023 17:46:53 +0200
Le Sun, 16 Apr 2023 11:09:46 -0400,
Brian Cully via Guix-patches via <guix-patches <at> gnu.org> 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.




Reply sent to Julien Lepiller <julien <at> lepiller.eu>:
You have taken responsibility. (Sun, 16 Apr 2023 15:48:02 GMT) Full text and rfc822 format available.

Notification sent to Brian Cully <bjc <at> spork.org>:
bug acknowledged by developer. (Sun, 16 Apr 2023 15:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 15 May 2023 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.