diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-28 00:59:59 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-28 01:02:14 +0100 |
commit | 8c9572b68df2020dcacd5324f0e369be72549256 (patch) | |
tree | 413f4fc3af891a6a34ef0cdbcbd7a2feafcb02af | |
parent | b2c07235259da3b5dc658527c5194e0f7c3cc640 (diff) |
gnu: python-git-hammer: Update to 0.3.2.python-team
* 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
-rw-r--r-- | gnu/packages/python-xyz.scm | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a23c6e40fc..a990cef136 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29465,29 +29465,32 @@ supports the globstar @code{**} operator to match an arbitrary number of path components.") (license license:asl2.0))) +;; XXX: Not maintained since 2021. (define-public python-git-hammer (package (name "python-git-hammer") - (version "0.3.1") + (version "0.3.2") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/asharov/git-hammer") - (commit version))) + (url "https://github.com/asharov/git-hammer") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0f9xlk86ijzpdj25hr1q4wcy8k72v3w470ngwm9mpdkfj8ng84wr")))) - (build-system python-build-system) + (base32 "0j0skpbhi7js45hp1w2n87093yz1hjdg5y3kicwvm84fb8i38gvx")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-setup.py + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements (lambda _ (substitute* "setup.py" - (("setup\\(") - "setup(\n test_suite=\"test\","))))))) + (("matplotlib <3.1") "matplotlib"))))))) + (native-inputs + (list python-pytest + python-setuptools)) (propagated-inputs (list python-beautifultable python-dateutil @@ -29499,8 +29502,8 @@ path components.") (home-page "https://github.com/asharov/git-hammer") (synopsis "Provide statistics for git repositories") (description - "Git Hammer is a statistics tool for projects in git repositories. -Its major feature is tracking the number of lines authored by each person for every + "Git Hammer is a statistics tool for projects in git repositories. Its major +feature is tracking the number of lines authored by each person for every commit, but it also includes some other useful statistics.") (license license:asl2.0))) |