commit:     966f37e737c6b39f8c2be63a341424228d51ed6a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 06:08:39 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 07:20:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966f37e7

dev-python/trimesh: Bump to 4.6.0

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

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

diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest
index 6207ff1596e2..cdadc84e89c6 100644
--- a/dev-python/trimesh/Manifest
+++ b/dev-python/trimesh/Manifest
@@ -1 +1,2 @@
 DIST trimesh-4.5.3.gh.tar.gz 13618342 BLAKE2B 
1bb74c872a09d928b9ccd4b098377f584ef05e444c1f3eee50ec456e108485a14757b1bdcb2920118e8ea6f557d56c2708784d51979c18cee956d9b7aac6093a
 SHA512 
4000ae55e8020bf1fd884a646d18db77f55abbb5de2ccc9f89ada4854b2001c0da377d53b834e48f7f43fa4ea1681fd0cf092697bb59e888c5416cf4a245a847
+DIST trimesh-4.6.0.gh.tar.gz 13621454 BLAKE2B 
520d7be8479c3490dc5125c75ae91887ab499a7af82a7b4ef1568d2ff89ec78f40d2a06f4ad2f7176e9233ca1d6bf209cb64225f44642f93ec0fea4a317e9cb9
 SHA512 
afb430a939cba17b36d07c6b6eb1acae6aafc388ac636b76dacb8053069f929a60f0d4be56f706786d3853123f3fb361a4550c9cabdbf46aa7d07c7eea956d64

diff --git a/dev-python/trimesh/trimesh-4.6.0.ebuild 
b/dev-python/trimesh/trimesh-4.6.0.ebuild
new file mode 100644
index 000000000000..2d79c3badfeb
--- /dev/null
+++ b/dev-python/trimesh/trimesh-4.6.0.ebuild
@@ -0,0 +1,80 @@
+# 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/chardet[${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/setuptools[${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