1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-sphobjinv: Switch to pyproject.

* gnu/packages/sphinx.scm (python-sphobjinv):
[source]: Improve style.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I5d66ade53847c1a398c744a29fbe5cd05f882c8f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-08-12 19:24:00 +02:00
committed by Sharlatan Hellseher
parent aed2216bb8
commit c1746bbf44

View File

@@ -1331,22 +1331,12 @@ executed during the Sphinx build process.")
(method url-fetch)
(uri (pypi-uri "sphobjinv" version))
(sha256
(base32
"10x4g92agj6aai0lj0xpcx58zlm1zamzws1w9dczsl1izpz07ij7"))
(patches (search-patches
"python-sphobjinv-defer-ssl-import.patch"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))))
(base32 "10x4g92agj6aai0lj0xpcx58zlm1zamzws1w9dczsl1izpz07ij7"))
(patches (search-patches "python-sphobjinv-defer-ssl-import.patch"))))
(build-system pyproject-build-system)
(native-inputs
(list python-dictdiffer python-pytest python-pytest-check
python-sphinx python-stdio-mgr))
python-setuptools python-wheel python-sphinx python-stdio-mgr))
(propagated-inputs
(list python-attrs python-certifi python-jsonschema))
(home-page "https://github.com/bskinn/sphobjinv")