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

A new commit has been pushed.

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

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 14:33 [rpms/python-shapely] f45: 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