mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
194312d630
commit
943ea45728
1 changed files with 12 additions and 8 deletions
|
@ -668,17 +668,21 @@ text styles of documentation.")
|
||||||
(version "2.0.0")
|
(version "2.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "eradicate" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/myint/eradicate")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "18vbahs105gznwdymnb9j0vwdk6f7hby7harf7nr2lsjia61pgah"))))
|
||||||
"1j30g9jfmbfki383qxwrfds8b23yiwywj40lng4lqcf5yab4ahr7"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
(home-page "https://github.com/myint/eradicate")
|
(home-page "https://github.com/myint/eradicate")
|
||||||
(synopsis "Remove commented-out code from Python sources")
|
(synopsis "Remove commented-out code from Python sources")
|
||||||
(description "The @command{eradicate} command removes commented-out code
|
(description
|
||||||
from Python files. It does this by detecting block comments that contain
|
"The @command{eradicate} command removes commented-out code from Python
|
||||||
valid Python syntax that are likely to be commented out code.")
|
files. It does this by detecting block comments that contain valid Python
|
||||||
|
syntax that are likely to be commented out code.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-expecttest
|
(define-public python-expecttest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue