GNU bug report logs - #51856
[PATCH 1/2] gnu: Add python-sphinx-prompt.

Previous Next

Package: guix-patches;

Reported by: Vinicius Monego <monego <at> posteo.net>

Date: Mon, 15 Nov 2021 04:37:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#51856: closed ([PATCH 1/2] gnu: Add python-sphinx-prompt.)
Date: Fri, 10 Dec 2021 14:20:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Dec 2021 15:18:56 +0100
with message-id <87bl1o8rvz.fsf <at> gnu.org>
and subject line Re: bug#51856: [PATCH 1/2] gnu: Add python-sphinx-prompt.
has caused the debbugs.gnu.org bug report #51856,
regarding [PATCH 1/2] gnu: Add python-sphinx-prompt.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
51856: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51856
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vinicius Monego <monego <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Vinicius Monego <monego <at> posteo.net>
Subject: [PATCH 1/2] gnu: Add python-sphinx-prompt.
Date: Mon, 15 Nov 2021 04:35:40 +0000
* gnu/packages/sphinx.scm (python-sphinx-prompt): New variable.
---
 gnu/packages/sphinx.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index a7a3443707..86b867871a 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -502,6 +502,37 @@ introspection of @code{zope.interface} instances in code.")
 (define-public python2-sphinx-repoze-autointerface
   (package-with-python2 python-sphinx-repoze-autointerface))
 
+(define-public python-sphinx-prompt
+  (package
+    (name "python-sphinx-prompt")
+    (version "1.5.0")
+    (source
+     (origin
+       (method git-fetch)               ; no source release in PyPI
+       (uri (git-reference
+             (url "https://github.com/sbrunner/sphinx-prompt")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x9wmgf04rzivbzp7jv1b7fkhkpi02lpk5w1qf4i7bcgih00ym8a"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/sbrunner/sphinx-prompt")
+    (synopsis "Sphinx directive to add unselectable prompt")
+    (description
+     "This package provides a Sphinx directive to add unselectable prompt.")
+    (license license:bsd-3)))
+
 (define-public python-sphinx-alabaster-theme
   (package
     (name "python-sphinx-alabaster-theme")

base-commit: 193d7b5b450d2004c26720e488a9cce930542e9e
-- 
2.30.2



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Vinicius Monego <monego <at> posteo.net>
Cc: 51856-done <at> debbugs.gnu.org
Subject: Re: bug#51856: [PATCH 1/2] gnu: Add python-sphinx-prompt.
Date: Fri, 10 Dec 2021 15:18:56 +0100
Hi,

Vinicius Monego <monego <at> posteo.net> skribis:

> * gnu/packages/sphinx.scm (python-sphinx-prompt): New variable.

[...]

> * gnu/packages/sphinx.scm (python-sphinxext-opengraph): New variable.

Applied, thanks!

Ludo’.


This bug report was last modified 3 years and 220 days ago.

Previous Next


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