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] f45: Improved spec-file conditionals
Date: Thu, 12 Nov 2026 20:18:15 GMT [thread overview]
Message-ID: <179451469582.1.14660352268036273348.rpms-python-trimesh-e627d1532255@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-trimesh
Branch : f45
Commit : e627d1532255e6ff53bfff21b90b75f7c0facc1f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-12T19:58:12+00:00
Stats : +22/-22 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-trimesh/c/e627d1532255e6ff53bfff21b90b75f7c0facc1f?branch=f45
Log:
Improved spec-file conditionals
[skip changelog]
---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index d52a179..b48d7dd 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -29,17 +29,34 @@ Source0: https://github.com/mikedh/trimesh/archive/%{version}/trimesh-%{v
# output and on the docstring of trimesh.__main__.main
Source1: trimesh.1
+# trimesh.interfaces.blender
+# Since 5.0.0, Blender doesn’t support big-endian architectures.
+%ifnarch s390x
+%global arch_has_blender 1
+%endif
+# The python-cascadio package is currently ExcludeArch: s390x
+# python-cascadio: Tests for cascadio fail on s390x, wrong endianness
+# https://bugzilla.redhat.com/show_bug.cgi?id=2298452
+%ifnarch s390x
+%global arch_has_cascadio 1
+%endif
+# embree only supports x86_64, aarch64
+# https://bugzilla.redhat.com/show_bug.cgi?id=2461412
+%ifarch %{x86_64} %{arm64}
+%global arch_has_embree 1
+%endif
+
BuildSystem: pyproject
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
- }
+%if !0%{?arch_has_embree}
+BuildOption(check): --exclude trimesh.ray.ray_pyembree
+%endif
+BuildOption(check): --exclude trimesh.viewer.widget
+BuildOption(check): --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
@@ -61,23 +78,6 @@ BuildRequires: %{py3_dist pytest-xdist}
# Not yet packaged: https://github.com/KhronosGroup/glTF-Validator
#BuildRequires: /usr/bin/gltf_validator
-# trimesh.interfaces.blender
-# Since 5.0.0, Blender doesn’t support big-endian architectures.
-%ifnarch s390x
-%global arch_has_blender 1
-%endif
-# The python-cascadio package is currently ExcludeArch: s390x
-# python-cascadio: Tests for cascadio fail on s390x, wrong endianness
-# https://bugzilla.redhat.com/show_bug.cgi?id=2298452
-%ifnarch s390x
-%global arch_has_cascadio 1
-%endif
-# embree only supports x86_64, aarch64
-# https://bugzilla.redhat.com/show_bug.cgi?id=2461412
-%ifarch %{x86_64} %{arm64}
-%global arch_has_embree 1
-%endif
-
%global _description %{expand:
Trimesh is a pure Python library for loading and using triangular meshes with
an emphasis on watertight meshes. The goal of the library is to provide a fully
reply other threads:[~2026-11-12 20:18 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=179451469582.1.14660352268036273348.rpms-python-trimesh-e627d1532255@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