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-uv-build] epel10: F41+: Use the provisional pyproject declarative buildsystem
Date: Sun, 16 Aug 2026 07:55:01 GMT	[thread overview]
Message-ID: <178686690101.1.2771820591253736629.rpms-python-uv-build-4838d8010405@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-uv-build
Branch : epel10
Commit : 4838d801040559fb5e9d6c2e3474638596c6bf87
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2025-05-09T10:07:28-04:00
Stats  : +6/-13 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-uv-build/c/4838d801040559fb5e9d6c2e3474638596c6bf87?branch=epel10

Log:
F41+: Use the provisional pyproject declarative buildsystem

---
diff --git a/python-uv-build.spec b/python-uv-build.spec
index dc4ed57..e2e7d15 100644
--- a/python-uv-build.spec
+++ b/python-uv-build.spec
@@ -87,11 +87,13 @@ Source:         %{pypi_source uv_build}
 %global version_ranges_baseversion 0.1.1
 Source200:      %{pubgrub_git}/archive/%{pubgrub_rev}/pubgrub-%{pubgrub_rev}.tar.gz
 
+BuildSystem:            pyproject
+BuildOption(install):   -l uv_build
+
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 # Also, there are a couple of test failures on 32-bit platforms.
 ExcludeArch:   %{ix86}
 
-BuildRequires:  python3-devel
 BuildRequires:  tomcli
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  rust2rpm-helper
@@ -178,7 +180,7 @@ tomcli set Cargo.toml false profile.release.strip
 %cargo_prep
 
 
-%generate_buildrequires
+%generate_buildrequires -p
 # For unclear reasons, maturin checks for all crate dependencies when it is
 # invoked as part of %%pyproject_buildrequires – including those corresponding
 # to optional features.
@@ -186,23 +188,14 @@ tomcli set Cargo.toml false profile.release.strip
 # Since maturin always checks for dev-dependencies, we need -t so that they are
 # generated even when the “check” bcond is disabled.
 %cargo_generate_buildrequires -a -t
-%pyproject_buildrequires
 
 
-%build
+%build -p
 %cargo_license_summary
 %{cargo_license} > LICENSE.dependencies
 
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files -l uv_build
-
 
-%check
-%pyproject_check_import
+%check -a
 %if %{with check}
 # These tests require files from scripts/packages/built-by-uv/, which are not
 # included in the sdist.

                 reply	other threads:[~2026-08-16  7:55 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=178686690101.1.2771820591253736629.rpms-python-uv-build-4838d8010405@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