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] f44: Use %pyproject_patch_dependency in lieu of tomcli
Date: Thu, 23 Jul 2026 22:39:27 GMT	[thread overview]
Message-ID: <178484636713.1.10924395794754867006.rpms-python-trimesh-ef55f5653b9f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-trimesh
Branch : f44
Commit : ef55f5653b9f8ac4e6c299e7545d262b53ecca8a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-01T11:45:13+01:00
Stats  : +20/-21 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-trimesh/c/ef55f5653b9f8ac4e6c299e7545d262b53ecca8a?branch=f44

Log:
Use %pyproject_patch_dependency in lieu of tomcli

---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index 4821897..42d1e04 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -37,8 +37,6 @@ BuildOption(generate_buildrequires): -x easy,recommend,test,test_more
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
 
-BuildRequires:  tomcli
-
 # Run tests in parallel:
 BuildRequires:  %{py3_dist pytest-xdist}
 
@@ -198,30 +196,27 @@ EOF
 # Patch out unavailable dependencies from extras:
 
 # easy extra:
-#   manifold3d: not yet packaged, https://github.com/elalish/manifold/
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.easy' '(manifold3d)\b.*'
+#   manifold3d: not yet packaged, https://github.com/elalish/manifold/;
+#               in either “easy” or “recommend” depending on Python version
+%pyproject_patch_dependency manifold3d:ignore
 %if ! 0%{?arch_has_embree}
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.easy' '(embreex)\b.*'
+%pyproject_patch_dependency embreex:ignore
 %endif
 
 # recommend extra:
 #   pyglet: incompatible version 2.x, beginning with F41. See “Path to
 #           supporting Pyglet 2?” https://github.com/mikedh/trimesh/issues/2155
-#   manifold3d: not yet packaged, https://github.com/elalish/manifold/
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.recommend' '(pyglet|manifold3d)\b.*'
+#   manifold3d: in either “easy” or “recommend” depending on Python version;
+#               already handled above
+%pyproject_patch_dependency pyglet:ignore
 %if %{without skimage}
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.recommend' 'scikit-image\b.*'
+%pyproject_patch_dependency scikit-image:ignore
 %endif
 %ifarch s390x
 # 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
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.recommend' 'cascadio\b.*'
+%pyproject_patch_dependency cascadio:ignore
 %endif
 
 # test extra:
@@ -229,8 +224,9 @@ tomcli set pyproject.toml lists delitem \
 #   pytest-cov: linters/coverage/etc.
 #   pyinstrument: not packaged; see “stub” workaround in %%prep
 #   ruff: linters/coverage/etc.
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.test' '(pytest-cov|pyinstrument|ruff)\b.*'
+%pyproject_patch_dependency pytest-cov:ignore
+%pyproject_patch_dependency pyinstrument:ignore
+%pyproject_patch_dependency ruff:ignore
 
 # test_more extra:
 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
@@ -242,14 +238,17 @@ tomcli set pyproject.toml lists delitem \
 #   pymeshlab: not yet packaged
 #   triangle: nonfree license
 #   marimo: not yet packaged
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.test_more' \
-    '(coveralls|pyright|xatlas|pytest-beartype|pymeshlab|triangle|marimo)\b.*'
+%pyproject_patch_dependency coveralls:ignore
+%pyproject_patch_dependency pyright:ignore
+%pyproject_patch_dependency xatlas:ignore
+%pyproject_patch_dependency pytest-beartype:ignore
+%pyproject_patch_dependency pymeshlab:ignore
+%pyproject_patch_dependency triangle:ignore
+%pyproject_patch_dependency marimo:ignore
 %if %{without meshio}
 #   meshio: apparently unmaintained,
 #           https://github.com/nschloe/meshio/issues/1558
-tomcli set pyproject.toml lists delitem \
-    'project.optional-dependencies.test_more' '(meshio)\b.*'
+%pyproject_patch_dependency meshio:ignore
 %endif
 
 

                 reply	other threads:[~2026-07-23 22:39 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=178484636713.1.10924395794754867006.rpms-python-trimesh-ef55f5653b9f@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