Date: Sunday, December 6, 2020 @ 16:01:43 Author: jelle Revision: 771048
upgpkg: python-trimesh 3.8.15-1 Modified: python-trimesh/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-12-06 15:55:02 UTC (rev 771047) +++ PKGBUILD 2020-12-06 16:01:43 UTC (rev 771048) @@ -1,13 +1,17 @@ # Maintainer: Jelle van der Waa <je...@archlinux.org> pkgname=python-trimesh -pkgver=3.8.12 -pkgrel=2 +pkgver=3.8.15 +pkgrel=1 pkgdesc='Trimesh is a pure Python library for loading and using triangular meshes with an emphasis on watertight surfaces' arch=('any') url="https://github.com/mikedh/trimesh" license=('MIT') depends=(python python-setuptools python-numpy) +checkdepends=(python-scipy python-networkx python-rtree python-lxml + python-shapely python-pillow python-sympy python-requests + python-msgpack python-pyglet python-jsonschema + python-svg.path python-collada) optdepends=('python-networkx: graph operations' 'python-pyglet: preview windows' 'python-rtree: vector path handling' @@ -19,9 +23,11 @@ 'python-msgpack: serialize into msgpack' 'python-lxml: handle XML better and faster than built- in XML' 'python-sympy: do analytical math' - 'python-xxhash: hash ndarrays faster than built-in MD5/CRC') + 'python-svg.path: handle SVG format path strings' + 'python-xxhash: hash ndarrays faster than built-in MD5/CRC' + 'python-collada: parse collada/dae/zae files') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/mikedh/trimesh/archive/${pkgver}.tar.gz) -sha512sums=('6425fc77bf5e75bf13719c9316dd0a292c6606853e03f4578467ac28ddc3298678b7ff5f244de9847c5c0755024f109e5a2df8a617c449236d1e484e64033711') +sha512sums=('0ac782340f7f68e9a4f9a0b3fac7724298fd2e42e20375363a99d40ad6b783f5a22d503793b3b4164adeb13f2ab74786eb0b096f178aabb66d35041a1e753764') build() { cd trimesh-${pkgver} @@ -28,6 +34,11 @@ python setup.py build } +check() { + cd trimesh-${pkgver} + python -m unittest discover tests +} + package() { cd trimesh-${pkgver} python setup.py install --root="${pkgdir}" --optimize=1 --skip-build