unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Cully via Guix-patches via <guix-patches@gnu.org>
To: 62885@debbugs.gnu.org
Subject: [bug#62885] [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20
Date: Sun, 16 Apr 2023 11:09:46 -0400	[thread overview]
Message-ID: <87edojuamd.fsf@psyduck.jhoto.kublai.com> (raw)
In-Reply-To: <34b8759ff0c54daa7d3592262b501526cd547b50.1681654887.git.bjc@spork.org> (Brian Cully's message of "Sun, 16 Apr 2023 10:22:01 -0400")

[-- Attachment #1: Type: text/plain, Size: 158 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: v2-0001-gnu-sphinx-Update-minimum-docutils-version-to-0.1.patch --]
[-- Type: text/x-patch, Size: 1863 bytes --]

From 1b6da890e93adf22a1c7a126d45fa67a69be18cc Mon Sep 17 00:00:00 2001
Message-Id: <1b6da890e93adf22a1c7a126d45fa67a69be18cc.1681657627.git.bjc@spork.org>
From: Brian Cully <bjc@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


  reply	other threads:[~2023-04-16 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16 14:22 [bug#62885] [PATCH core-updates] gnu: sphinx: Update minimum docutils version to 0.20 Brian Cully via Guix-patches via
2023-04-16 15:09 ` Brian Cully via Guix-patches via [this message]
2023-04-16 15:46   ` bug#62885: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edojuamd.fsf@psyduck.jhoto.kublai.com \
    --to=guix-patches@gnu.org \
    --cc=62885@debbugs.gnu.org \
    --cc=bjc@spork.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).