blob: 58abf0aade32a96ed479e50d602622d63ef70902 (
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.35.2
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' 'vtk')
optdepends=('python-meshio')
source=("https://github.com/pyvista/pyvista/archive/v${pkgver}.tar.gz")
sha512sums=('f134fa31f14392e4334cd87b26be39257492d9ae22137ca11abbaaf9903b719531bf242331b147892645e07d591466506eac90a2cd1a9aa252d49bcaaf34140f')
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
}
|