public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-meson-python] f44: Use %pyproject_patch_dependency in lieu of several sed invocations
@ 2026-06-12 11:54 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-12 11:54 UTC (permalink / raw)
  To: git-commits

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
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-12 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 11:54 [rpms/python-meson-python] f44: Use %pyproject_patch_dependency in lieu of several sed invocations Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox