diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-06-29 06:13:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-06-29 07:05:26 +0200 |
commit | 51c9655fca9bc7cfc49cd6305967ebadf8a12af7 (patch) | |
tree | ebb5fe5630adb59f20fd70500baeaaca26408581 /dev-python | |
parent | dev-python/typing-extensions: Bump to 4.7.0 (diff) | |
download | gentoo-51c9655fca9bc7cfc49cd6305967ebadf8a12af7.tar.gz gentoo-51c9655fca9bc7cfc49cd6305967ebadf8a12af7.tar.bz2 gentoo-51c9655fca9bc7cfc49cd6305967ebadf8a12af7.zip |
dev-python/trimesh: Bump to 3.22.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/trimesh/Manifest | 1 | ||||
-rw-r--r-- | dev-python/trimesh/trimesh-3.22.2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index f19c231f2c0c..b4a2f7119a3f 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1 +1,2 @@ DIST trimesh-3.22.1.gh.tar.gz 12713271 BLAKE2B 2c70087aff546682cc82d5f99f981153ab0dfb3d180f13071f87d79b70ec8e97ca936af0053e865717771e1abb8469fb4a57b81f5aed860fbce35ac609470cab SHA512 27952e0d29ccd110d4087b4144e0923706bed3cd0734e7a17d7f55738c6322849c5dad04ab4ecfe0638bc16d65d1e647d08905a396dd6ebd1f78c833a8b95636 +DIST trimesh-3.22.2.gh.tar.gz 12714188 BLAKE2B 137b261f40c6d188e7b01f103ad0d0c4cbbb3051843c1e2ae77d32194e7e150ff2eaf58add0e8bd5593fa8b125892ef49f8719a0cdb6ef91096cb99b1478a5b4 SHA512 48f0fca1283454bb12478b1b02290562b334bfb08eefe48c2b6fdb31f3766ec09a4e3411863596afe478a5bc5f6bca841d31a53b041fd676793469afd2815bea diff --git a/dev-python/trimesh/trimesh-3.22.2.ebuild b/dev-python/trimesh/trimesh-3.22.2.ebuild new file mode 100644 index 000000000000..c7b61d98e83f --- /dev/null +++ b/dev-python/trimesh/trimesh-3.22.2.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 +} |