public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-trimesh] rawhide: Use pyproject long options
@ 2026-08-02  9:41 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-02  9:41 UTC (permalink / raw)
  To: git-commits

            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"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-02  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-02  9:41 [rpms/python-trimesh] rawhide: Use pyproject long options 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