From: Vinicius Monego <monego@posteo.net>
To: 51856@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51856] [PATCH 1/2] gnu: Add python-sphinx-prompt.
Date: Mon, 15 Nov 2021 04:35:40 +0000 [thread overview]
Message-ID: <20211115043540.739242-1-monego@posteo.net> (raw)
* 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
next reply other threads:[~2021-11-15 4:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 4:35 Vinicius Monego [this message]
2021-11-15 4:37 ` [bug#51856] [PATCH 2/2] gnu: Add python-sphinxext-opengraph Vinicius Monego
2021-12-10 14:18 ` bug#51856: [PATCH 1/2] gnu: Add python-sphinx-prompt Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211115043540.739242-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=51856@debbugs.gnu.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.