public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f43: Use %pyproject_patch_dependency instead of tomcli
@ 2026-10-07 20:11 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-07 20:11 UTC (permalink / raw)
  To: git-commits

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

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

only message in thread, other threads:[~2026-10-07 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 20:11 [rpms/python-shapely] f43: Use %pyproject_patch_dependency instead 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