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

A new commit has been pushed.

Repo   : rpms/python-trimesh
Branch : rawhide
Commit : 11055c14a809da4d95a2affaab0fd456c43d77dc
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-23T23:10:44+01:00
Stats  : +1/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-trimesh/c/11055c14a809da4d95a2affaab0fd456c43d77dc?branch=rawhide

Log:
Use pyproject long options

---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index 026313b..f055cb9 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -157,8 +157,7 @@ Recommends:     /usr/bin/openscad
 
 # Note that the “recommend” and “easy” extras do have an arch-dependent
 # dependencies, and therefore they must not be noarch.
-%pyproject_extras_subpkg -n python3-trimesh easy
-%pyproject_extras_subpkg -n python3-trimesh recommend
+%pyproject_extras_subpkg --name python3-trimesh easy recommend
 # We don’t want to expose test extras as metapackages; see
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_handling_extras.
 #

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/python-trimesh] rawhide: Use pyproject long options
@ 2026-08-02  9:41 Benjamin A. Beasley
  0 siblings, 0 replies; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2026-08-23 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23 22:13 [rpms/python-trimesh] rawhide: Use pyproject long options Benjamin A. Beasley
  -- strict thread matches above, loose matches on Subject: below --
2026-08-02  9:41 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