commit:     3bfd1db1cb222fb79518fa3d85605440787da021
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 03:23:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 04:42:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfd1db1

dev-python/trimesh: Bump to 4.6.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/trimesh/Manifest             |  1 +
 dev-python/trimesh/trimesh-4.6.4.ebuild | 79 +++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest
index eaa27b6b044e..571c4f05526f 100644
--- a/dev-python/trimesh/Manifest
+++ b/dev-python/trimesh/Manifest
@@ -1,2 +1,3 @@
 DIST trimesh-4.5.3.gh.tar.gz 13618342 BLAKE2B 
1bb74c872a09d928b9ccd4b098377f584ef05e444c1f3eee50ec456e108485a14757b1bdcb2920118e8ea6f557d56c2708784d51979c18cee956d9b7aac6093a
 SHA512 
4000ae55e8020bf1fd884a646d18db77f55abbb5de2ccc9f89ada4854b2001c0da377d53b834e48f7f43fa4ea1681fd0cf092697bb59e888c5416cf4a245a847
 DIST trimesh-4.6.3.gh.tar.gz 13622877 BLAKE2B 
156424ebfe41fee80fc67ed099e17e72c83d86912056b6ec0ac0fba336109eede793dd998e4133d3df3903f7426f6b5fb05db7a4ed9cde554a9e57c3e300984c
 SHA512 
b5e614e8846b9534af545aa1d8e9ba5f5c694e0c86ef46a7f40fcd186cc6d36a52d3fcae8313b021a38a74eacc21e41189f6dbfce7397a2d5abd94b7b5ec8c3a
+DIST trimesh-4.6.4.gh.tar.gz 13624427 BLAKE2B 
b61caf9a08f219bd0dc7f6f55262dd798d3ce7c56e7a9daf3486365ec8b035b19c63f1d99ddc68ecfa9e940480e2f4307229a4fb8371e75a583f5cf8d9c29db0
 SHA512 
2f52ea216d448fbab32938f905137df6aac593f88343672e0e93a808f2dfece8eb477e82185c0d1150245742f2c4bb4be8c704757e428cba87f528dc1ebdb3d7

diff --git a/dev-python/trimesh/trimesh-4.6.4.ebuild 
b/dev-python/trimesh/trimesh-4.6.4.ebuild
new file mode 100644
index 000000000000..252b04a9f06e
--- /dev/null
+++ b/dev-python/trimesh/trimesh-4.6.4.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python library for loading and using triangular meshes"
+HOMEPAGE="
+       https://trimesh.org/
+       https://github.com/mikedh/trimesh/
+       https://pypi.org/project/trimesh/
+"
+SRC_URI="
+       https://github.com/mikedh/${PN}/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       dev-python/charset-normalizer[${PYTHON_USEDEP}]
+       dev-python/colorlog[${PYTHON_USEDEP}]
+       dev-python/httpx[${PYTHON_USEDEP}]
+       dev-python/jsonschema[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/networkx[${PYTHON_USEDEP}]
+       >=dev-python/numpy-1.20[${PYTHON_USEDEP}]
+       dev-python/pillow[${PYTHON_USEDEP}]
+       dev-python/pycollada[${PYTHON_USEDEP}]
+       dev-python/pyglet[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+       dev-python/scipy[${PYTHON_USEDEP}]
+       >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}]
+       dev-python/svg-path[${PYTHON_USEDEP}]
+       dev-python/sympy[${PYTHON_USEDEP}]
+       dev-python/xxhash[${PYTHON_USEDEP}]
+       dev-python/rtree[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/mapbox-earcut[${PYTHON_USEDEP}]
+               dev-python/pillow[webp,${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_TIMEOUT=1800
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # requires manifold3d
+               tests/test_boolean.py::test_multiple_difference
+               # timing nonsense
+               tests/test_bounds.py::BoundsTest::test_obb_mesh_large
+       )
+       local EPYTEST_IGNORE=(
+               # require pyinstrument
+               tests/test_sweep.py
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}
+
+pkg_postinst() {
+       optfeature_header "${PN} functionality can be extended by installing 
the following packages:"
+       optfeature "making GUI applications with 3D stuff" dev-python/glooey
+       optfeature "2D triangulations of polygons" dev-python/mapbox-earcut
+       optfeature "loading a number of additional mesh formats" 
dev-python/meshio
+       optfeature "figuring out how much memory we have" dev-python/psutil
+       optfeature "marching cubes and other nice stuff" dev-python/scikit-image
+}

Reply via email to