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: More completely adopt the pyproject declarative buildsystem
Date: Sun, 02 Aug 2026 09:41:28 GMT [thread overview]
Message-ID: <178566368898.1.17365014282070125839.rpms-python-trimesh-261447f02b50@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-trimesh
Branch : rawhide
Commit : 261447f02b50fcdeaac14fc8b0ae50f04d63b771
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-02T10:37:55+01:00
Stats : +12/-15 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-trimesh/c/261447f02b50fcdeaac14fc8b0ae50f04d63b771?branch=rawhide
Log:
More completely adopt the pyproject declarative buildsystem
---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index ddd423f..90b1146 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -29,9 +29,18 @@ Source0: https://github.com/mikedh/trimesh/archive/%{version}/trimesh-%{v
# output and on the docstring of trimesh.__main__.main
Source1: trimesh.1
-BuildSystem: pyproject
+BuildSystem: pyproject
# With v4, [all] = [easy,recommend,test,test_more,deprecated].
BuildOption(generate_buildrequires): --extras easy,recommend,test,test_more
+BuildOption(install): --assert-license trimesh
+# Some dependencies are unavailable; see the %%prep section.
+# - trimesh.viewer.widget requires glooey
+# - trimesh.viewer.windowed requires pyglet
+BuildOption(check): %{shrink:
+ %{?!arch_has_embree:--exclude trimesh.ray.ray_pyembree}
+ --exclude trimesh.viewer.widget
+ --exclude trimesh.viewer.windowed
+ }
# 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
@@ -268,24 +277,12 @@ EOF
%endif
-%install
-%pyproject_install
-%pyproject_save_files --assert-license trimesh
-
+%install -a
install -D --target='%{buildroot}%{_mandir}/man1' \
--preserve-timestamps --mode=0644 '%{SOURCE1}'
-%check
-# Some dependencies are unavailable; see the prep section above.
-# trimesh.viewer.widget requires glooey.
-# trimesh.viewer.windowed requires pyglet.
-%{pyproject_check_import %{shrink:
- %{?!arch_has_embree:--exclude trimesh.ray.ray_pyembree}
- --exclude trimesh.viewer.widget
- --exclude trimesh.viewer.windowed
- }}
-
+%check -a
# Hangs flakily since 4.10.0; cannot reproduce in a git checkout
deselect="${deselect-} --deselect=tests/test_primitives.py::test_primitives"
# This has been observed failing on at least x86_64, ppc64le, and s390x.
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=178566368898.1.17365014282070125839.rpms-python-trimesh-261447f02b50@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