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 the provisional pyproject declarative buildsystem
Date: Wed, 07 Oct 2026 20:11:34 GMT	[thread overview]
Message-ID: <179140389400.1.15385241230172597354.rpms-python-shapely-da7ec35bedad@fedoraproject.org> (raw)

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.

                 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=179140389400.1.15385241230172597354.rpms-python-shapely-da7ec35bedad@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