commit:     7d6476eba98302560300de91cd82f0a0809f26c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  6 06:06:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov  6 06:54:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6476eb

dev-python/trimesh: Bump to 4.5.2

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

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

diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest
index 8ec5efb34973..f42e4d5710a5 100644
--- a/dev-python/trimesh/Manifest
+++ b/dev-python/trimesh/Manifest
@@ -1,2 +1,3 @@
 DIST trimesh-4.4.9.gh.tar.gz 13612220 BLAKE2B 
9ee21f8a3f0db041133b2843948a00e8ee6bf52e3de1d2ca9ac88391ef1c07a4b540c75b439da3e137923f0822399cdf759072729363253ad8137a06cb208791
 SHA512 
3b58a0378231dd1111ac4ffe030b1dd18d24647e22fe815bc411a7854f83e12a9482cb0b48d5333be9f6f6ebf622c15e29c446531ce27ff12c1835a6f25cc51a
 DIST trimesh-4.5.1.gh.tar.gz 13615930 BLAKE2B 
c3477dba45e27e50e9dd295693abd3c5f87aefefaa8b9f68efae3e36a7fd8b2fa74f319535dd3a5b9cf795c5603f11e1bc1ca78e7ad98b78c46b9349c7be91f9
 SHA512 
5cd289dce9f6913afc9708de16bec2f0fb2f5c1d171f9c043bb3f2a0ac56d59a06e0c4e4bfaf833594850abbb75ab798331bbad28f9089998f801979cabe3657
+DIST trimesh-4.5.2.gh.tar.gz 13616030 BLAKE2B 
1201b0d3f2780564c970d7c14331905e4fe808df3f0185dbdd1cdf383d4358d9dd50d3bdbedd6a3ada843657452a5aabb0ca3eaab6b56c65373ebc9a1ca91ad5
 SHA512 
13fedd9bac79e25d510b776166d9ea04cf60638f3702cdf3a8a7f14e4297fe26fa4b9eacffb9a22f1b175c01bf75d4452e57a073ca8eb4858b028abca99d2e5b

diff --git a/dev-python/trimesh/trimesh-4.5.2.ebuild 
b/dev-python/trimesh/trimesh-4.5.2.ebuild
new file mode 100644
index 000000000000..7b71b21dd4d0
--- /dev/null
+++ b/dev-python/trimesh/trimesh-4.5.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 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
+       )
+       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