# Maintainer: Martin Diehl pkgname=python-pyvista pkgver=0.31.1 pkgrel=1 pkgdesc='3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK)' arch=('any') url='https://www.pyvista.org' license=('MIT') makdepends=('python-setuptools') depends=('python-numpy' 'python-imageio' 'python-pillow' 'python-appdirs' 'python-scooby' 'python-meshio' 'paraview' 'python-transforms3d') source=("https://github.com/pyvista/pyvista/archive/${pkgver}.tar.gz") sha512sums=('dcd311bd36ceb3cb591e1d5c4fb6e3b37ba442249d96aa146ff17e8899439a7c107c2409b6722d03df6382efa1f6c932b310500a900d509052bab60673e4c477') build() { cd "$srcdir"/pyvista-${pkgver} python setup.py build_ext --inplace python setup.py build } package() { cd "$srcdir"/pyvista-${pkgver} python setup.py install --skip-build --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }