public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/pre-commit] f44: Use %pyproject_patch_dependency in lieu of sed
Date: Wed, 22 Jul 2026 05:49:09 GMT [thread overview]
Message-ID: <178469934978.1.8590299267951240426.rpms-pre-commit-8163ca9a4a30@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pre-commit
Branch : f44
Commit : 8163ca9a4a30fd947b961c4767f4536b06218985
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-04-29T13:02:39+01:00
Stats : +4/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pre-commit/c/8163ca9a4a30fd947b961c4767f4536b06218985?branch=f44
Log:
Use %pyproject_patch_dependency in lieu of sed
---
diff --git a/pre-commit.spec b/pre-commit.spec
index 13de0d8..ecd8677 100644
--- a/pre-commit.spec
+++ b/pre-commit.spec
@@ -33,7 +33,7 @@ Source114: pre-commit-validate-manifest.1
BuildSystem: pyproject
BuildOption(prep): -S git
%if %{with check}
-BuildOption(generate_buildrequires): requirements-dev-filtered.txt
+BuildOption(generate_buildrequires): requirements-dev.txt
%endif
BuildOption(install): -l pre_commit
# Any Python files inside pre_commit.resources are templates and are not
@@ -56,9 +56,9 @@ A framework for managing and maintaining multi-language pre-commit hooks.
%prep -a
-# Do not generate BR’s for coverage, linters, etc.:
-sed -r '/^(covdefaults|coverage)\b/d' requirements-dev.txt |
- tee requirements-dev-filtered.txt
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+%pyproject_patch_dependency covdefaults:ignore
+%pyproject_patch_dependency coverage:ignore
%install -a
reply other threads:[~2026-07-22 5:49 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=178469934978.1.8590299267951240426.rpms-pre-commit-8163ca9a4a30@fedoraproject.org \
--to=code@musicinmybrain.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