public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-platformdirs] rawhide: Replace the tomcli dep. with %pyproject_patch_dependency
@ 2026-10-13  9:22 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-13  9:22 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-platformdirs
            Branch : rawhide
            Commit : 6a748d6a053af45e58c1043fe623b172089feaf6
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-04T08:29:34+01:00
            Stats  : +3/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-platformdirs/c/6a748d6a053af45e58c1043fe623b172089feaf6?branch=rawhide

            Log:
            Replace the tomcli dep. with %pyproject_patch_dependency

[skip changelog]

---
diff --git a/python-platformdirs.spec b/python-platformdirs.spec
index fccfb48..39ac7d4 100644
--- a/python-platformdirs.spec
+++ b/python-platformdirs.spec
@@ -9,10 +9,6 @@ URL:            https://github.com/platformdirs/platformdirs
 Source:         %{pypi_source platformdirs}
 BuildArch:      noarch
 
-%if %{with tests}
-BuildRequires:  tomcli
-%endif
-
 %global common_description %{expand:
 When writing desktop application, finding the right location to store user data
 and configuration varies per platform.  Even for single-platform apps, there
@@ -32,13 +28,10 @@ Summary:        %{summary}
 %prep
 %autosetup -n platformdirs-%{version}
 
-%if %{with tests}
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-for dep in covdefaults diff-cover pytest-cov
-do
-    tomcli set pyproject.toml lists delitem dependency-groups.test "${dep}\b.*"
-done
-%endif
+%pyproject_patch_dependency covdefaults:ignore
+%pyproject_patch_dependency diff-cover:ignore
+%pyproject_patch_dependency pytest-cov:ignore
 
 
 %generate_buildrequires

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

only message in thread, other threads:[~2026-10-13  9:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13  9:22 [rpms/python-platformdirs] rawhide: Replace the tomcli dep. with %pyproject_patch_dependency 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