diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-25 19:56:17 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-02 21:13:18 +0100 |
| commit | 943ea45728e80cdaf8e72a5028a17db71b65786c (patch) | |
| tree | b329ebf64e180e74c30132750d033e0afe198129 /gnu/packages/python-check.scm | |
| parent | 194312d630775e83be74018519450b318dc0f70b (diff) | |
gnu: python-eradicate: Switch to pyproject.
* gnu/packages/python-check.scm (python-eradicate):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[description]: Run guix style.
Change-Id: I02b61fc9d5db59ea18fbdaa14bafe1d51da81523
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 877e8a21186..a83595d3164 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -668,17 +668,21 @@ text styles of documentation.") (version "2.0.0") (source (origin - (method url-fetch) - (uri (pypi-uri "eradicate" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/myint/eradicate") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "1j30g9jfmbfki383qxwrfds8b23yiwywj40lng4lqcf5yab4ahr7")))) - (build-system python-build-system) + (base32 "18vbahs105gznwdymnb9j0vwdk6f7hby7harf7nr2lsjia61pgah")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/myint/eradicate") (synopsis "Remove commented-out code from Python sources") - (description "The @command{eradicate} command removes commented-out code -from Python files. It does this by detecting block comments that contain -valid Python syntax that are likely to be commented out code.") + (description + "The @command{eradicate} command removes commented-out code from Python +files. It does this by detecting block comments that contain valid Python +syntax that are likely to be commented out code.") (license license:expat))) (define-public python-expecttest |
