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] f43: Use %pyproject_patch_dependency instead of tomcli
Date: Wed, 07 Oct 2026 20:11:37 GMT	[thread overview]
Message-ID: <179140389723.1.15859507257756791655.rpms-python-shapely-07eef7178ec4@fedoraproject.org> (raw)

A new commit has been pushed.

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

Log:
Use %pyproject_patch_dependency instead of tomcli

---
diff --git a/python-shapely.spec b/python-shapely.spec
index 3aa66df..959d30e 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -25,7 +25,6 @@ BuildOption(check): --exclude 'shapely.tests*'
 BuildOption(check): --exclude shapely.plotting
 %endif
 
-BuildRequires:  tomcli
 BuildRequires:  gcc
 BuildRequires:  geos-devel
 
@@ -66,15 +65,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 20:11 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=179140389723.1.15859507257756791655.rpms-python-shapely-07eef7178ec4@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