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-platformdirs] f45: Replace the tomcli dep. with %pyproject_patch_dependency
Date: Tue, 13 Oct 2026 09:31:18 GMT	[thread overview]
Message-ID: <179188387821.1.18335939450642257950.rpms-python-platformdirs-6a748d6a053a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-platformdirs
            Branch : f45
            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=f45

            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

                 reply	other threads:[~2026-10-13  9:31 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=179188387821.1.18335939450642257950.rpms-python-platformdirs-6a748d6a053a@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