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-trimesh] rawhide: Use pyproject long options
Date: Sun, 02 Aug 2026 09:41:28 GMT [thread overview]
Message-ID: <178566368849.1.12300443196064792682.rpms-python-trimesh-fb00eb7acdfc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-trimesh
Branch : rawhide
Commit : fb00eb7acdfc79fa095dd5d1e286b58dc66d8603
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-02T10:26:28+01:00
Stats : +7/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-trimesh/c/fb00eb7acdfc79fa095dd5d1e286b58dc66d8603?branch=rawhide
Log:
Use pyproject long options
[skip changelog]
---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index fdb7ebf..ddd423f 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -31,7 +31,7 @@ Source1: trimesh.1
BuildSystem: pyproject
# With v4, [all] = [easy,recommend,test,test_more,deprecated].
-BuildOption(generate_buildrequires): -x easy,recommend,test,test_more
+BuildOption(generate_buildrequires): --extras easy,recommend,test,test_more
# The combination of an arched package with a noarch binary packages makes it
# easier for us to detect arch-dependent test failures, since the tests will
@@ -270,7 +270,7 @@ EOF
%install
%pyproject_install
-%pyproject_save_files -l trimesh
+%pyproject_save_files --assert-license trimesh
install -D --target='%{buildroot}%{_mandir}/man1' \
--preserve-timestamps --mode=0644 '%{SOURCE1}'
@@ -280,11 +280,11 @@ install -D --target='%{buildroot}%{_mandir}/man1' \
# Some dependencies are unavailable; see the prep section above.
# trimesh.viewer.widget requires glooey.
# trimesh.viewer.windowed requires pyglet.
-%{pyproject_check_import \
- %{?!arch_has_embree:-e trimesh.ray.ray_pyembree} \
- -e trimesh.viewer.widget \
- -e trimesh.viewer.windowed \
-}
+%{pyproject_check_import %{shrink:
+ %{?!arch_has_embree:--exclude trimesh.ray.ray_pyembree}
+ --exclude trimesh.viewer.widget
+ --exclude trimesh.viewer.windowed
+ }}
# Hangs flakily since 4.10.0; cannot reproduce in a git checkout
deselect="${deselect-} --deselect=tests/test_primitives.py::test_primitives"
reply other threads:[~2026-08-02 9:41 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=178566368849.1.12300443196064792682.rpms-python-trimesh-fb00eb7acdfc@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