public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyroaring] rawhide: Use the pyproject declarative buildsystem
@ 2026-10-08 13:36 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-08 13:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyroaring
Branch : rawhide
Commit : d556b7c6d8f4d659ae80a303ce07d475c14195c9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-08T14:27:29+01:00
Stats : +6/-18 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyroaring/c/d556b7c6d8f4d659ae80a303ce07d475c14195c9?branch=rawhide
Log:
Use the pyproject declarative buildsystem
---
diff --git a/python-pyroaring.spec b/python-pyroaring.spec
index 62f93dd..a2377ef 100644
--- a/python-pyroaring.spec
+++ b/python-pyroaring.spec
@@ -34,6 +34,10 @@ Patch: 0001-Respect-system-compiler-flags-no-O3.patch
# an upstreamable way.
Patch: 0002-Do-not-build-bundled-croaring-library-link-libroarin.patch
+BuildSystem: pyproject
+BuildOption(generate_buildrequires): --tox --toxenv=cython3
+BuildOption(install): --assert-license pyroaring
+
BuildRequires: gcc-c++
BuildRequires: pkgconfig(roaring)
%if %{with benchmarks}
@@ -56,29 +60,13 @@ Summary: %{summary}
%description -n python3-pyroaring %{common_description}
-%prep
-%autosetup -n PyRoaringBitMap-%{version} -p1
-
+%prep -a
# Unbundle croaring
rm pyroaring/roaring.c
printf '#include <%s>\n' 'roaring/roaring.h' > pyroaring/roaring.h
-%generate_buildrequires
-%pyproject_buildrequires --tox --toxenv=cython3
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files --assert-license pyroaring
-
-
-%check
-%pyproject_check_import
+%check -a
%tox --toxenv=%{toxenv}
%if %{with benchmarks}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 13:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 13:36 [rpms/python-pyroaring] rawhide: Use the 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