mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-sphinxext-opengraph: Switch to pyproject.
* gnu/packages/sphinx.scm (python-sphinxext-opengraph): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Remove 'check phase replacement. Add phase 'set-version. [native-inputs]: Add python-setuptools. Change-Id: I8e76fb1ec9ac494d4a345e61660e974f2397ca9f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
4c0632ba2d
commit
029353d5df
@@ -1190,15 +1190,17 @@ translate and to apply translation to Sphinx generated document.")
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1wrgpan9z65fv4hbvisz4sypc4w5ammnxkyn5lhr43wdr6b967k1"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv")))))))
|
||||
(native-inputs (list python-beautifulsoup4 python-pytest python-sphinx))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'set-version
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("main") #$version)))))))
|
||||
(native-inputs (list python-beautifulsoup4 python-pytest python-sphinx
|
||||
python-setuptools))
|
||||
(home-page "https://github.com/wpilibsuite/sphinxext-opengraph")
|
||||
(synopsis "Sphinx Extension to enable OpenGraph support")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user