29 lines
1.2 KiB
Bash
29 lines
1.2 KiB
Bash
# Template file for 'python3-trimesh'
|
|
pkgname=python3-trimesh
|
|
version=3.8.5
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="trimesh-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
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="python3-pytest 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"
|
|
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=2d2d1688db804f205bf5958c62d0e78dbd277cd3e6488389a7cd25e3c0cb05d3
|
|
|
|
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
|
|
}
|