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-shapely] f44: Use %pyproject_patch_dependency instead of tomcli
Date: Wed, 07 Oct 2026 19:27:40 GMT	[thread overview]
Message-ID: <179140126077.1.15438979599947249533.rpms-python-shapely-56fc52a62022@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-shapely
Branch : f44
Commit : 56fc52a6202271f188a8e410fa05fabada0bd1f4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-07T11:40:18+01:00
Stats  : +3/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-shapely/c/56fc52a6202271f188a8e410fa05fabada0bd1f4?branch=f44

Log:
Use %pyproject_patch_dependency instead of tomcli

---
diff --git a/python-shapely.spec b/python-shapely.spec
index 74a8112..b820a0c 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -28,7 +28,6 @@ BuildOption(check): --exclude 'shapely.tests*'
 BuildOption(check): --exclude shapely.plotting
 %endif
 
-BuildRequires:  tomcli
 BuildRequires:  gcc
 BuildRequires:  geos-devel
 
@@ -69,15 +68,11 @@ Provides:       bundled(klib-kvec) = 0.1.0
 # appear. Note that C sources in src/ are not generated.
 find shapely -type f -name '*.c' -print -delete
 
-# Patch out coverage analysis from the “test” extra.
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-tomcli set pyproject.toml lists delitem \
-    project.optional-dependencies.test pytest-cov
-
 %if %{without doctests}
-tomcli set pyproject.toml lists delitem \
-    project.optional-dependencies.test scipy-doctest
+%pyproject_patch_dependency scipy-doctest:ignore
 %endif
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+%pyproject_patch_dependency pytest-cov:ignore
 
 
 %check -p

                 reply	other threads:[~2026-10-07 19:27 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=179140126077.1.15438979599947249533.rpms-python-shapely-56fc52a62022@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