python3-trimesh: update to 4.4.3.

This commit is contained in:
Andrew J. Hesford 2024-07-31 13:42:20 -04:00
parent 9eb1a95810
commit b28705be92
1 changed files with 12 additions and 15 deletions

View File

@ -1,33 +1,30 @@
# Template file for 'python3-trimesh'
pkgname=python3-trimesh
version=3.15.2
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
version=4.4.3
revision=1
build_style=python3-pep517
make_check_target="tests"
# Ignored tests require unpackaged dependencies
make_check_args="--ignore tests/test_sweep.py
--deselect tests/test_section.py::SliceTest::test_slice_onplane"
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-numpy"
depends="python3-numpy python3-scipy python3-networkx python3-lxml
python3-pyglet python3-shapely python3-rtree python3-Pillow python3-svg.path
python3-jsonschema python3-psutil python3-chardet python3-sympy python3-msgpack
python3-pycollada python3-requests"
checkdepends="$depends python3-pytest"
python3-jsonschema python3-psutil python3-chardet python3-sympy
python3-pycollada"
checkdepends="$depends python3-pytest-xdist python3-httpx"
short_desc="Python3 library for loading and using triangular meshes"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="MIT"
homepage="https://trimsh.org/"
distfiles="https://github.com/mikedh/trimesh/archive/${version}.tar.gz"
checksum=543a8c4a44228c77e44918af9649a6e3828cec9d3ff9083e82453c34a0872add
checksum=948a257df5644b3aac6aad06acfc5a64de3fdbf4d5d5f645eeba91d88fe71f14
post_install() {
vlicense LICENSE.md
}
do_check() {
# disable test coverage
vsed -i 's/pytest-cov//' setup.py
vsed -i 's/coveralls//' setup.py
python3 -m pytest
}
# disable tests for i686
if [ "$XBPS_WORDSIZE" -eq "32" ]; then
make_check=no # https://github.com/mikedh/trimesh/issues/690;