Date: Tuesday, June 22, 2021 @ 18:28:17 Author: jelle Revision: 966864
archrelease: copy trunk to community-any Added: python-trimesh/repos/community-any/PKGBUILD (from rev 966863, python-trimesh/trunk/PKGBUILD) Deleted: python-trimesh/repos/community-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-22 18:28:08 UTC (rev 966863) +++ PKGBUILD 2021-06-22 18:28:17 UTC (rev 966864) @@ -1,47 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> - -pkgname=python-trimesh -pkgver=3.9.14 -pkgrel=2 -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-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' - 'python-scipy: convex hulls' - 'python-shapely: vector path handling' - 'python-pillow: load images' - 'python-jsonschema: validate JSON schemas like GLTF' - 'python-requests: network requests' - 'python-msgpack: serialize into msgpack' - 'python-lxml: handle XML better and faster than built- in XML' - 'python-sympy: do analytical math' - '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=('2b4181d3d20b55d0197e2340a8a74f4e5b2201f78166ac0d24d9ca6d52f43ceac26ab314ff7b12cf7d7c72e496392b1efaa765e8b230d35613bb04c45f0d091f') - -build() { - cd trimesh-${pkgver} - python setup.py build -} - -check() { - cd trimesh-${pkgver} - python -m unittest discover tests -} - -package() { - cd trimesh-${pkgver} - PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - - install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python-trimesh/repos/community-any/PKGBUILD (from rev 966863, python-trimesh/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-22 18:28:17 UTC (rev 966864) @@ -0,0 +1,47 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> + +pkgname=python-trimesh +pkgver=3.9.20 +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-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' + 'python-scipy: convex hulls' + 'python-shapely: vector path handling' + 'python-pillow: load images' + 'python-jsonschema: validate JSON schemas like GLTF' + 'python-requests: network requests' + 'python-msgpack: serialize into msgpack' + 'python-lxml: handle XML better and faster than built- in XML' + 'python-sympy: do analytical math' + '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=('6098c4ef60c1260289d5757951571a9d110aed0fb22c41b58ad081b623fa1904278657e7fc9f5ab416f1b4894ea7fa1a13f1b1f69367b465a7276e65f3b8c95a') + +build() { + cd trimesh-${pkgver} + python setup.py build +} + +check() { + cd trimesh-${pkgver} + python -m unittest discover tests +} + +package() { + cd trimesh-${pkgver} + PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + + install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +}