mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/trimesh: Bump to 4.12.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST trimesh-4.11.5.gh.tar.gz 13711494 BLAKE2B 4a03edebf9be2bb6d6fb06d6085d8d144175279ec5d876aae79d449aba93ded2410167a3b6f3692ad0ad1da96f62d2c3333beb951b0ef17586a7def8a0b4a4a3 SHA512 da32e900ab14b0abf86703db9caa7475cb906035c9b5f096cf44bb40a24d3d65dd53e2e028e3f78e14c3dd7a91a357b54c4fa802fb09ff1688022b7dd8770f14
|
||||
DIST trimesh-4.12.1.gh.tar.gz 13716880 BLAKE2B 81b32c95976169413e76e36ed03873b7ae9b67d4c2d298a660dc483557b5299c6cb23ae8d1faf8065ac5b4f47bc0a58cdd75c497514068276f00ffc00f99e4f6 SHA512 7511dfc3e1d52ac452c4b4225a9ada2c176951e18ee176b4d47236f782b4d4760121a4e3b42063eb499e7df3f046102554f1fc3684c93bc58669ab6bdc6f0b62
|
||||
DIST trimesh-4.12.2.gh.tar.gz 13717637 BLAKE2B a0f04335d7f7335b2044bda841b06a5dcfcb1f26c569f84c57049c4f2f444595e4ab27021c0c6d3013f100248897a3df75a53cee806975fa6d5ec7914f77315c SHA512 4f8cfee0435c16b932740f4900f1ef75046c06bb64a20fe49c2a858aba7392009d6dcdeab80a08392e185e2f2890198078213e984563bfebd059b339852fb18d
|
||||
|
||||
89
dev-python/trimesh/trimesh-4.12.2.ebuild
Normal file
89
dev-python/trimesh/trimesh-4.12.2.ebuild
Normal file
@@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
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_PLUGINS=()
|
||||
: ${EPYTEST_TIMEOUT:=300}
|
||||
EPYTEST_RERUNS=3
|
||||
EPYTEST_XDIST=1
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires manifold3d
|
||||
tests/test_boolean.py::test_multiple_difference
|
||||
tests/test_ray.py::test_contains_cavity
|
||||
# timing nonsense
|
||||
tests/test_bounds.py::BoundsTest::test_obb_mesh_large
|
||||
)
|
||||
EPYTEST_IGNORE=(
|
||||
# require pyinstrument
|
||||
tests/test_sweep.py
|
||||
)
|
||||
|
||||
python_test() {
|
||||
# We run tests in parallel, so avoid having n^2 threads in lapack
|
||||
# tests.
|
||||
local -x BLIS_NUM_THREADS=1
|
||||
local -x MKL_NUM_THREADS=1
|
||||
local -x OMP_NUM_THREADS=1
|
||||
local -x OPENBLAS_NUM_THREADS=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
|
||||
}
|
||||
Reference in New Issue
Block a user