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-pyroaring] f43: Use the pyproject declarative buildsystem
Date: Thu, 08 Oct 2026 14:02:30 GMT [thread overview]
Message-ID: <179146815026.1.12755333257052794846.rpms-python-pyroaring-d556b7c6d8f4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pyroaring
Branch : f43
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=f43
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}
reply other threads:[~2026-10-08 14:02 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=179146815026.1.12755333257052794846.rpms-python-pyroaring-d556b7c6d8f4@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