From c1746bbf44d78068e13d7d75dc7365533d832955 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 12 Aug 2025 19:24:00 +0200 Subject: [PATCH] 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 --- gnu/packages/sphinx.scm | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 1211a5f3e7..90bf376b39 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -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")