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-trx-python] f44: Use the pyproject declarative buildsystem
Date: Sun, 20 Sep 2026 06:45:58 GMT [thread overview]
Message-ID: <178988675860.1.4859431925198866971.rpms-python-trx-python-63d6e0fcdfbc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-trx-python
Branch : f44
Commit : 63d6e0fcdfbc7addc99420aafe33c297b25f5cc4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-14T11:00:57+01:00
Stats : +8/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-trx-python/c/63d6e0fcdfbc7addc99420aafe33c297b25f5cc4?branch=f44
Log:
Use the pyproject declarative buildsystem
---
diff --git a/python-trx-python.spec b/python-trx-python.spec
index 3954c96..15f3b11 100644
--- a/python-trx-python.spec
+++ b/python-trx-python.spec
@@ -24,6 +24,10 @@ Source4: %{test_data_base_url}/gold_standard.zip
BuildArch: noarch
+BuildSystem: pyproject
+BuildOption(generate_buildrequires): --extras=test
+BuildOption(install): --assert-license trx
+
# This would enable more tests, but it was orphaned and retired.
# BuildRequires: %%{py3_dist dipy}
@@ -42,31 +46,20 @@ Summary: %{summary}
%description -n python3-trx-python %{common_description}
-%prep
-%autosetup -C -p1
-
+%prep -a
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
%pyproject_patch_dependency pytest-cov:ignore
-%generate_buildrequires
+%generate_buildrequires -p
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
-%pyproject_buildrequires --extras test
-%build
+%build -p
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files --assert-license trx
-
-%check
-%pyproject_check_import
+%check -a
export TRX_HOME="${PWD}/_home"
mkdir --parents "${TRX_HOME}"
ln '%{SOURCE1}' '%{SOURCE2}' '%{SOURCE3}' '%{SOURCE4}' "${TRX_HOME}"
reply other threads:[~2026-09-20 6:45 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=178988675860.1.4859431925198866971.rpms-python-trx-python-63d6e0fcdfbc@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