commit: 2c77256e793aa7efb32f5968ee05ce7eeb284be2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Aug 7 01:49:59 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Aug 7 01:49:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c77256e
dev-python/trimesh: Bump to 3.23.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/trimesh/Manifest | 1 + dev-python/trimesh/trimesh-3.23.1.ebuild | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 5a2d04280396..bb55faa55635 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,2 +1,3 @@ DIST trimesh-3.22.5.gh.tar.gz 12715459 BLAKE2B d838b75acef1615fab5006cd55cd28d649fd61fbecbe076250d3f2acd6d0c6f29481862189105456e9626b15b1f6e557f419cbe49044ccff784d9ea2a8ea4dff SHA512 1756f8a589cff214ef6ecf54f363c906b26a1d7205aa1645cb5f90b691d6c43d71f904939329b599c0b5595b663529b15c4d8a747da50157a22e3020808f3f01 DIST trimesh-3.23.0.gh.tar.gz 12720387 BLAKE2B 88e57f09c1bc924a59b6ce3744ef3e3df05d144707415fe595f40d411e364591cdd22ed38a46b2004d935ab18f3387753cf66479aaeb9cc1f4d870c1e23ce7e3 SHA512 d4ac6b5c7ea09c84810a36060c6cb9a5366ef177d309d1d0bf2cfbdd0969562394ee03832f9a535d63cb71b5c026fb6bf43b815014230c8e20c56bb69f0fc3ed +DIST trimesh-3.23.1.gh.tar.gz 12721718 BLAKE2B e6f388c0b3443b46bb6a4e93b049b4a75c5c7af7e24c441f1b0c5c4247ac34d3548722ea24979897c332b4defb69681e5bf714848dd6e3d89af18b2a0adc7e18 SHA512 2a788631f7bb142da5f761ed374c1966b92799a4e4ce52687bf86ee7da3d226466771a84876eaf8fb71b5fc967d69fbce286c4638e0f14a9c8d3e80094079283 diff --git a/dev-python/trimesh/trimesh-3.23.1.ebuild b/dev-python/trimesh/trimesh-3.23.1.ebuild new file mode 100644 index 000000000000..c7b61d98e83f --- /dev/null +++ b/dev-python/trimesh/trimesh-3.23.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimsh.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/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${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}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -n "$(makeopts_jobs)" --dist=worksteal +} + +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" sci-libs/scikit-image +}