From 55172471a8bdea865664916d5343d88d55e70d31 Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Sun, 14 Jun 2020 21:27:45 -0400 Subject: [PATCH] python3-trimesh: update to 3.7.9. --- srcpkgs/python3-trimesh/template | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-trimesh/template b/srcpkgs/python3-trimesh/template index 15f6715ce1d..f2d5933fc82 100644 --- a/srcpkgs/python3-trimesh/template +++ b/srcpkgs/python3-trimesh/template @@ -1,6 +1,6 @@ # Template file for 'python3-trimesh' pkgname=python3-trimesh -version=3.7.4 +version=3.7.9 revision=1 archs=noarch wrksrc="trimesh-${version}" @@ -8,13 +8,21 @@ build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-numpy" depends="python3-numpy python3-scipy python3-networkx" +checkdepends="python3-pytest" short_desc="Python3 library for loading and using triangular meshes" maintainer="Karl Nilsson " license="MIT" homepage="https://trimsh.org/" distfiles="https://github.com/mikedh/trimesh/archive/${version}.tar.gz" -checksum=05818e5332337734fb1d0df706a80ea81398641f31274d51fef488cbd988f066 +checksum=d5ea1fdc40143349747c1986c3d7e2cd467e4671c2c4d0d428ddb4e98c9aa4c1 post_install() { vlicense LICENSE.md } + +do_check() { + # disable test coverage + sed -i 's/pytest-cov//' setup.py + sed -i 's/coveralls//' setup.py + python3 -m pytest +}