gnu: python-sphinxext-opengraph: Update to 0.6.3.

* gnu/packages/sphinx.scm (python-sphinxext-opengraph): Update to 0.6.3.
[phases]{check}: Streamline and invoke pytest verbosely.
[native-inputs]: Indent on a single line.
This commit is contained in:
Maxim Cournoyer 2022-04-21 23:34:24 -04:00
parent 0efccc8f18
commit 01360c8b02
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -812,7 +812,7 @@ (define-public python-sphinx-intl
(define-public python-sphinxext-opengraph (define-public python-sphinxext-opengraph
(package (package
(name "python-sphinxext-opengraph") (name "python-sphinxext-opengraph")
(version "0.4.2") (version "0.6.3")
(source (source
(origin (origin
(method git-fetch) ; no tests in PyPI release (method git-fetch) ; no tests in PyPI release
@ -821,18 +821,16 @@ (define-public python-sphinxext-opengraph
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0dka44wri7agcr1jd641hq6j7qlbycligp80ngf32l5asqz1mgzp")))) (base32 "1wrgpan9z65fv4hbvisz4sypc4w5ammnxkyn5lhr43wdr6b967k1"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv")))))))
(invoke "python" "-m" "pytest"))))))) (native-inputs (list python-beautifulsoup4 python-pytest python-sphinx))
(native-inputs
(list python-beautifulsoup4 python-pytest python-sphinx))
(home-page "https://github.com/wpilibsuite/sphinxext-opengraph") (home-page "https://github.com/wpilibsuite/sphinxext-opengraph")
(synopsis "Sphinx Extension to enable OpenGraph support") (synopsis "Sphinx Extension to enable OpenGraph support")
(description (description