From d51ffa1829b0fc397ee05307c0991a54c77b759b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 19 Dec 2025 13:26:10 +0000 Subject: [PATCH] gnu: gitlint: Update to 0.19.1. * gnu/packages/version-control.scm (gitlint): Update to 0.19.1. [build-system]: Switch to pyproejct-build-system. [arguments] : No tests in PyPI, tests might be broken in Git. [native-inputs]: Add python-hatch-vcs and python-hatchling. Change-Id: Icf4c590ed7665cf72ce430d59b156907ddbe672e --- gnu/packages/version-control.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index e4c31d3b956e03830d8cf615ad97ed11f3c9816f..8d499867cbc55f81e0dd26cc545036a311d8050c 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -4638,19 +4638,20 @@ Git project instead of @command{git filter-branch}.") (define-public gitlint (package (name "gitlint") - (version "0.17.0") + (version "0.19.1") (source (origin (method url-fetch) ;; the gitlint-core pypi package contains the actual gitlint ;; code; the gitlint package only pulls in gitlint-core with ;; stricter dependency versioning - (uri (pypi-uri "gitlint-core" version)) + (uri (pypi-uri "gitlint_core" version)) (sha256 (base32 - "14cn89biys8r7mwcdgllv371k34km9k1941ylxf53a7sxwrzsbbp")))) - (build-system python-build-system) + "14lrlbdbnm1biczd54iymbgi5k02hnxmxxh3kr5650gm7yq7gybv")))) + (build-system pyproject-build-system) (arguments (list + #:tests? #f ;not included in PyPI, see pyproejct.toml #:phases #~(modify-phases %standard-phases (add-before 'build 'loosen-requirements @@ -4663,6 +4664,9 @@ Git project instead of @command{git filter-branch}.") ;; force using subprocess instead of sh so git does not need ;; to be a propagated input (("if USE_SH_LIB") "if False"))))))) + (native-inputs + (list python-hatch-vcs + python-hatchling)) (inputs (list git python-arrow python-click python-sh)) (home-page "https://jorisroovers.com/gitlint/")