From 9a69e95c6695f00939d2abcb45177d11fede2efc Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 21 Nov 2025 18:45:07 +0100 Subject: [PATCH] gnu: python-helpdev: Switch to pyproject. * gnu/packages/python-xyz.scm (python-helpdev): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Remove them. [propagated-inputs]: Remove python-importlib-metadata. [native-inputs]: Add python-pip, python-setuptools. Change-Id: I5c932169e0423e7c63d36d858c6ead2fe69d5bac Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a3b2ef0ee38827c63e25a5c47184302be479d8b2..b9fa72090e801cc679668acd3761959165e82410 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31660,29 +31660,18 @@ distribution in Python.") (name "python-helpdev") (version "0.7.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "helpdev" version)) - (sha256 - (base32 - "0gfvj28i82va7c264jl2p4cdsl3lpf9fpb9cyjnis55crfdafqmv")))) - (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 "pytest" "tests")) - #t))))) - (propagated-inputs - (list python-importlib-metadata)) - (native-inputs - (list python-pytest)) + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/dpizetta/helpdev") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0mzf0sdgxzn3x56qxgi6kbsx3cydl8h0bdpyn4xyfkw6pyi9g2bd")))) + (build-system pyproject-build-system) + (native-inputs (list python-pip python-pytest python-setuptools)) (home-page "https://gitlab.com/dpizetta/helpdev") - (synopsis - "Extract information about the Python environment easily") + (synopsis "Extract information about the Python environment easily") (description "Helpdev is a library to easily extract information about the Python environment.")