diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-21 18:45:07 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-22 16:10:12 +0000 |
| commit | 9a69e95c6695f00939d2abcb45177d11fede2efc (patch) | |
| tree | 6efc355624909f9923575fb6b3012c3c0e89bb89 | |
| parent | 1e7d4bbf996abf8531b0114308e06d02b484cd73 (diff) | |
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 <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a3b2ef0ee38..b9fa72090e8 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.") |
