blob: 7b53a6fc9f067bef8f6088621547e31b062d65c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Martin Diehl <aur@martin-diehl.net>
pkgname=python-pyvista
pkgver=0.34.2
pkgrel=0
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' 'vtk')
optdepends=('python-meshio')
source=("https://github.com/pyvista/pyvista/archive/v${pkgver}.tar.gz")
sha512sums=('7b627fd8a8aeabb9af6f09c1f529b2fb30448d1729327a53542aaced5a08a22342cee07b63327fe1ded66f0fe04e2d7f2f9749d714548afe7e957153abdaf167')
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
}
|