public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-uv-build] epel10: F41+: Use the provisional pyproject declarative buildsystem
@ 2026-08-16 7:55 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-16 7:55 UTC (permalink / raw)
To: git-commits
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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-16 7:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 7:55 [rpms/python-uv-build] epel10: F41+: 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