Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
# Template file for 'python3-trimesh' | ||
pkgname=python3-trimesh | ||
version=3.7.4 | ||
version=3.8.1 | ||
revision=1 | ||
archs=noarch | ||
wrksrc="trimesh-${version}" | ||
build_style=python3-module | ||
hostmakedepends="python3-setuptools" | ||
makedepends="python3-numpy" | ||
depends="python3-numpy python3-scipy python3-networkx" | ||
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=05818e5332337734fb1d0df706a80ea81398641f31274d51fef488cbd988f066 | ||
checksum=20897113f0c111f6b5a805bdeeffbe5ac3e82803c051dee956405ef031eac6a6 | ||
|
||
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 | ||
} |