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/python-meson-python] f44: Use %pyproject_patch_dependency in lieu of several sed invocations
Date: Fri, 12 Jun 2026 11:54:46 GMT [thread overview]
Message-ID: <178126528623.1.5711494426313427364.rpms-python-meson-python-331150c763c7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-meson-python
Branch : f44
Commit : 331150c763c7ebfa03ab4819ae6ba70d59270be7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-04-30T07:12:08+01:00
Stats : +4/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-meson-python/c/331150c763c7ebfa03ab4819ae6ba70d59270be7?branch=f44
Log:
Use %pyproject_patch_dependency in lieu of several sed invocations
---
diff --git a/python-meson-python.spec b/python-meson-python.spec
index db7ead1..406b161 100644
--- a/python-meson-python.spec
+++ b/python-meson-python.spec
@@ -31,9 +31,6 @@ BuildOption(install): -l mesonpy
BuildArch: noarch
-# for %%pyproject_buildrequires -p
-BuildRequires: pyproject-rpm-macros >= 1.15.1
-
%if %{with tests}
BuildRequires: cmake
BuildRequires: gcc
@@ -80,12 +77,13 @@ Requires: /usr/bin/patchelf
%endif
# build: used only by skipped PEP 518 test
# pytest-cov: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-sed -r -i "s/^ '(build|pytest-cov)/#&/" pyproject.toml
+%pyproject_patch_dependency build:ignore
+%pyproject_patch_dependency pytest-cov:ignore
%if %{without pytest_mock}
-sed -r -i "s/^ '(pytest-mock)/#&/" pyproject.toml
+%pyproject_patch_dependency pytest-mock:ignore
%endif
%if %{without wheel}
-sed -r -i "s/^ '(wheel)/#&/" pyproject.toml
+%pyproject_patch_dependency wheel:ignore
%endif
reply other threads:[~2026-06-12 11:54 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=178126528623.1.5711494426313427364.rpms-python-meson-python-331150c763c7@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