public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: git-commits@fedoraproject.org
Subject: [rpms/gitlint] f44: Update to 0.19.1
Date: Thu, 04 Jun 2026 13:25:52 GMT [thread overview]
Message-ID: <178057955216.1.9400329481822115201.rpms-gitlint-a57eb4db54aa@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gitlint
Branch : f44
Commit : a57eb4db54aa59f4a6f0623dc7139220feddcfc4
Author : Bastien Nocera <hadess@hadess.net>
Date : 2026-06-04T15:24:43+02:00
Stats : +20/-30 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/gitlint/c/a57eb4db54aa59f4a6f0623dc7139220feddcfc4?branch=f44
Log:
Update to 0.19.1
---
diff --git a/.gitignore b/.gitignore
index 39abc98..fdb46f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/gitlint-0.13.1.tar.gz
/gitlint-0.15.0.tar.gz
+/v0.19.1.tar.gz
diff --git a/gitlint.spec b/gitlint.spec
index 006245b..31df03f 100644
--- a/gitlint.spec
+++ b/gitlint.spec
@@ -1,14 +1,16 @@
Summary: Git commit message linting tool
Name: gitlint
-Version: 0.15.0
-Release: 20%{?dist}
+Version: 0.19.1
+Release: 1%{?dist}
License: MIT
-Source: %pypi_source
-Patch0: strict-dependencies.patch
+Source: https://github.com/jorisroovers/gitlint/archive/refs/tags/v%{version}.tar.gz
URL: https://jorisroovers.github.io/gitlint
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
+BuildRequires: python3-hatchling
+BuildRequires: python3-hatch-vcs
+BuildRequires: python3-pip
+BuildRequires: python3-setuptools_scm
BuildRequires: %{py3_dist Click} >= 7.1.2
BuildRequires: %{py3_dist arrow} >= 0.15.6
BuildRequires: %{py3_dist sh} >= 1.13.1
@@ -26,23 +28,30 @@ minimum body length, valid email addresses...
%autosetup -p1
%build
-%py3_build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_wheel -d gitlint-core
%check
+pushd gitlint-core
PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m coverage run --omit='/usr/*,$(pwd)/gitlint/tests/*,$(pwd)/gitlint/qa/*' -m unittest discover -v -s $(pwd)/gitlint/tests
+popd
%install
-%py3_install
-rm -rf %{buildroot}%{python3_sitelib}/qa
+pushd gitlint-core
+%pyproject_install
+popd
%files
%license LICENSE
%doc README.md
-%{python3_sitelib}/%{name}-*.egg-info/
+%{python3_sitelib}/%{name}_core-*.dist-info/
%{python3_sitelib}/%{name}/
%{_bindir}/gitlint
%changelog
+* Thu Jun 04 2026 Bastien Nocera <bnocera@redhat.com> - 0.19.1-1
+- Update to 0.19.1
+
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/sources b/sources
index 33c7160..adfca14 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gitlint-0.15.0.tar.gz) = 4e9f5dd1212b7049dc1a84819d2e2a6b5a45e5cb1d39359ed99329feb350a33ec83ec0fd7b6889227fb68aed50b82d2978f8e70923a6024ceb28537df20b27ee
+SHA512 (v0.19.1.tar.gz) = d7b1d99a7a578e5c50723af9a995f6a675d36b5c9175ac4f60b3e2fda05c708233beb35d07ae6fb6a1d492b21f0677013302daae3d3da350a0274935c8b922a0
diff --git a/strict-dependencies.patch b/strict-dependencies.patch
deleted file mode 100644
index d0274c2..0000000
--- a/strict-dependencies.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 3220f82..54362e5 100644
---- a/setup.py
-+++ b/setup.py
-@@ -59,12 +59,12 @@ setup(
- ],
- python_requires=">=3.6",
- install_requires=[
-- 'Click==7.1.2',
-- 'arrow==0.17.0',
-+ 'Click>=7.1.2',
-+ 'arrow>=0.15.6',
- ],
- extras_require={
- ':sys_platform != "win32"': [
-- 'sh==1.14.1',
-+ 'sh>=1.13.1',
- ],
- },
- keywords='gitlint git lint',
reply other threads:[~2026-06-04 13:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178057955216.1.9400329481822115201.rpms-gitlint-a57eb4db54aa@fedoraproject.org \
--to=hadess@hadess.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox