mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-git-hammer: Update to 0.3.2.
* gnu/packages/python-xyz.scm (python-git-hammer): Update to 0.3.2. Fix indentation. [build-system]: Switch to pyproject-build-system. [arguments] <phases>: Remove 'patch-setup.py, add 'relax-requirements. [native-inputs]: Add python-pytest and python-setuptools. [description]: Fix fill column. Change-Id: I22609e48142c2dacf2d9dec7c07a9cc917f5db03
This commit is contained in:
parent
b2c0723525
commit
8c9572b68d
1 changed files with 16 additions and 13 deletions
|
@ -29465,29 +29465,32 @@ supports the globstar @code{**} operator to match an arbitrary number of
|
||||||
path components.")
|
path components.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
;; XXX: Not maintained since 2021.
|
||||||
(define-public python-git-hammer
|
(define-public python-git-hammer
|
||||||
(package
|
(package
|
||||||
(name "python-git-hammer")
|
(name "python-git-hammer")
|
||||||
(version "0.3.1")
|
(version "0.3.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/asharov/git-hammer")
|
(url "https://github.com/asharov/git-hammer")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0j0skpbhi7js45hp1w2n87093yz1hjdg5y3kicwvm84fb8i38gvx"))))
|
||||||
"0f9xlk86ijzpdj25hr1q4wcy8k72v3w470ngwm9mpdkfj8ng84wr"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'patch-setup.py
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("setup\\(")
|
(("matplotlib <3.1") "matplotlib")))))))
|
||||||
"setup(\n test_suite=\"test\",")))))))
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-setuptools))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-beautifultable
|
(list python-beautifultable
|
||||||
python-dateutil
|
python-dateutil
|
||||||
|
@ -29499,8 +29502,8 @@ path components.")
|
||||||
(home-page "https://github.com/asharov/git-hammer")
|
(home-page "https://github.com/asharov/git-hammer")
|
||||||
(synopsis "Provide statistics for git repositories")
|
(synopsis "Provide statistics for git repositories")
|
||||||
(description
|
(description
|
||||||
"Git Hammer is a statistics tool for projects in git repositories.
|
"Git Hammer is a statistics tool for projects in git repositories. Its major
|
||||||
Its major feature is tracking the number of lines authored by each person for every
|
feature is tracking the number of lines authored by each person for every
|
||||||
commit, but it also includes some other useful statistics.")
|
commit, but it also includes some other useful statistics.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue