public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-scooby] f43: Use %pyproject_patch_dependency in lieu of tomcli
@ 2026-09-11 12:27 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-11 12:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-scooby
Branch : f43
Commit : ccada9050ae4fa350c7c7e20818b8456b2b64177
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-07T09:43:51+01:00
Stats : +11/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-scooby/c/ccada9050ae4fa350c7c7e20818b8456b2b64177?branch=f43
Log:
Use %pyproject_patch_dependency in lieu of tomcli
---
diff --git a/python-scooby.spec b/python-scooby.spec
index d09f1bc..215853b 100644
--- a/python-scooby.spec
+++ b/python-scooby.spec
@@ -21,7 +21,6 @@ BuildOption(install): -l scooby
BuildArch: noarch
-BuildRequires: tomcli
%if %{with tests}
BuildRequires: /usr/bin/time
%endif
@@ -47,15 +46,17 @@ Recommends: %{py3_dist psutil}
%prep -a
-# - Omit mkl from the test dependencies because it is proprietary
-# - Omit pyvips, which is not packaged (upstream CI lacks it too)
-# - Omit no_version, which is not packaged; it is just a demonstration of a
-# package without a __version__. Without this, we must skip two tests; that
-# seems a reasonable price to pay in order to avoid packaging something which
-# is merely “for demonstration purposes.”
-# - https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-tomcli set pyproject.toml lists delitem 'dependency-groups.test' \
- '(mkl|pyvips|no-version|pytest-cov)\b.*'
+# Omit mkl from the test dependencies because it is proprietary
+%pyproject_patch_dependency mkl:ignore
+# Omit pyvips, which is not packaged (upstream CI lacks it too)
+%pyproject_patch_dependency pyvips:ignore
+# Omit no_version, which is not packaged; it is just a demonstration of a
+# package without a __version__. Without this, we must skip two tests; that
+# seems a reasonable price to pay in order to avoid packaging something which
+# is merely “for demonstration purposes.”
+%pyproject_patch_dependency no_version:ignore
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+%pyproject_patch_dependency pytest-cov:ignore
%generate_buildrequires -p
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 12:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 12:27 [rpms/python-scooby] f43: Use %pyproject_patch_dependency in lieu of tomcli 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