[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: Add python-sphinxext-opengraph.
From: |
guix-commits |
Subject: |
08/09: gnu: Add python-sphinxext-opengraph. |
Date: |
Fri, 10 Dec 2021 09:33:41 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 6a887e4909d4973c942d8cd62cd11a5c1070c254
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Mon Nov 15 04:37:46 2021 +0000
gnu: Add python-sphinxext-opengraph.
* gnu/packages/sphinx.scm (python-sphinxext-opengraph): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/sphinx.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 86b8678..9aafcb9 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")
- branch master updated (18c406d -> 6cb805d), guix-commits, 2021/12/10
- 09/09: gnu: Add eg25-manager., guix-commits, 2021/12/10
- 02/09: shell: When using '-D -f', '-D' has no effect on remaining packages., guix-commits, 2021/12/10
- 03/09: environment: Suggestion code gracefully handles empty "/bin" directories., guix-commits, 2021/12/10
- 04/09: gnu: Add smlnj., guix-commits, 2021/12/10
- 01/09: shell: Fix '--file' description in '--help' output., guix-commits, 2021/12/10
- 08/09: gnu: Add python-sphinxext-opengraph.,
guix-commits <=
- 06/09: gnu: sendgmail: Don't limit domain name of sender., guix-commits, 2021/12/10
- 07/09: gnu: Add python-sphinx-prompt., guix-commits, 2021/12/10
- 05/09: gnu: sendgmail: Rename package to match command., guix-commits, 2021/12/10