Subject: [bug#64191] [PATCH] gnu: python-trimesh: Update to 3.22.1.

From: "Paul A. Patience" <[email-masked]>
Date: Tue, 20 Jun 2023 12:01:56 +0000

* gnu/packages/python-science.scm (python-trimesh): Update to 3.22.1.
[arguments]<#:phases>: Update path in 'fix-build' phase.
---
 gnu/packages/python-science.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index a8e43d96cf..5d840e75ab 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -324,13 +324,13 @@ (define-public python-scikit-optimize
 (define-public python-trimesh
   (package
     (name "python-trimesh")
-    (version "3.10.7")
+    (version "3.22.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "trimesh" version))
        (sha256
-        (base32 "0bw55cwxlxds0j54naijh64sdb0rkscx4i1fy0ql94h96kw2p2ir"))))
+        (base32 "1ck4dkhz1x6sznd83c1hlvsv2m6d22fr82na0947j5jf47a4c1gl"))))
     (build-system python-build-system)
     (propagated-inputs
      (list python-numpy))
@@ -346,7 +346,7 @@ (define-public python-trimesh
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-build
            (lambda _
-             (substitute* "trimesh/resources/templates/blender_boolean.py"
+             (substitute* "trimesh/resources/templates/blender_boolean.py.tmpl"
                (("\\$MESH_PRE")
                 "'$MESH_PRE'")))))))
     (home-page "https://github.com/mikedh/trimesh")

base-commit: d884fc9e2efecfba09af4694f5a13ad7fc6f704f
prerequisite-patch-id: 52027b181c066ac91bc56fc0af511a34f3516651
prerequisite-patch-id: 7ddddfb1646020c15a91ff8f00dd2bacc54162c9
prerequisite-patch-id: 7b8261c3b3ee237bfe47e1f478e72e7fd29fd683
prerequisite-patch-id: 44319403f544d47490bc16df6c2e800e1bc2bfeb
prerequisite-patch-id: 4eb92c043f38eea9f487d6460ad6cd751dd51f4b
-- 
2.40.1