From: Vinicius Monego <monego@posteo.net>
To: 51856@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51856] [PATCH 2/2] gnu: Add python-sphinxext-opengraph.
Date: Mon, 15 Nov 2021 04:37:46 +0000 [thread overview]
Message-ID: <20211115043746.739379-1-monego@posteo.net> (raw)
In-Reply-To: <20211115043540.739242-1-monego@posteo.net>
* gnu/packages/sphinx.scm (python-sphinxext-opengraph): New variable.
---
gnu/packages/sphinx.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 86b867871a..9aafcb9213 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -693,6 +693,38 @@ to be able to read and render the Doxygen xml output.")
translate and to apply translation to Sphinx generated document.")
(license license:bsd-2)))
+(define-public python-sphinxext-opengraph
+ (package
+ (name "python-sphinxext-opengraph")
+ (version "0.4.2")
+ (source
+ (origin
+ (method git-fetch) ; no tests in PyPI release
+ (uri (git-reference
+ (url "https://github.com/wpilibsuite/sphinxext-opengraph")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0dka44wri7agcr1jd641hq6j7qlbycligp80ngf32l5asqz1mgzp"))))
+ (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-beautifulsoup4" ,python-beautifulsoup4)
+ ("python-pytest" ,python-pytest)
+ ("python-sphinx" ,python-sphinx)))
+ (home-page "https://github.com/wpilibsuite/sphinxext-opengraph")
+ (synopsis "Sphinx Extension to enable OpenGraph support")
+ (description
+ "This package provides a Sphinx Extension to generate OG metadata.")
+ (license license:bsd-3)))
+
(define-public python-sphinx-autobuild
(package
(name "python-sphinx-autobuild")
--
2.30.2
next prev parent reply other threads:[~2021-11-15 4:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 4:35 [bug#51856] [PATCH 1/2] gnu: Add python-sphinx-prompt Vinicius Monego
2021-11-15 4:37 ` Vinicius Monego [this message]
2021-12-10 14:18 ` bug#51856: " 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
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=20211115043746.739379-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 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).