public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-shapely] f43: Use the provisional pyproject declarative buildsystem
@ 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 : da7ec35bedad710df3022b49eb5dc8a8398408a9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2025-12-27T12:44:21+00:00
Stats  : +5/-16 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-shapely/c/da7ec35bedad710df3022b49eb5dc8a8398408a9?branch=f43

Log:
Use the provisional pyproject declarative buildsystem

---
diff --git a/python-shapely.spec b/python-shapely.spec
index f953e39..f31f110 100644
--- a/python-shapely.spec
+++ b/python-shapely.spec
@@ -17,6 +17,10 @@ License:        BSD-3-Clause AND Unlicense AND MIT
 URL:            https://github.com/shapely/shapely
 Source:         %{pypi_source shapely}
 
+BuildSystem:            pyproject
+BuildOption(install):   -l shapely
+BuildOption(generate_buildrequires): -x test
+
 BuildRequires:  tomcli
 BuildRequires:  gcc
 BuildRequires:  geos-devel
@@ -52,9 +56,7 @@ Provides:       bundled(klib-kvec) = 0.1.0
 %description -n python3-shapely %_description
 
 
-%prep
-%autosetup -n shapely-%{version} -p1
-
+%prep -a
 # Currently, the PyPI sdist does not ship with pre-generated Cython C sources.
 # We preventively check for them anyway, as they must be removed if they do
 # appear. Note that C sources in src/ are not generated.
@@ -71,19 +73,6 @@ tomcli set pyproject.toml lists delitem \
 %endif
 
 
-%generate_buildrequires
-%pyproject_buildrequires -x test
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files -l shapely
-
-
 %check
 # Ensure the “un-built” package is not imported. Otherwise compiled extensions
 # cannot be tested.

^ 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 the provisional pyproject declarative buildsystem 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