summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1dc08a4bb831cb8514b2ce599d2c50349a11bf07 (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
27
28
29
30
# Maintainer: Michael Borders <michael.a.borders@gmail.com>
# Contributor: Martino Pilia <martino.pilia@gmail.com>
_pkgname=pyvista
pkgname=python-pyvista
pkgver=0.20.2
pkgrel=1
pkgdesc="A Streamlined Python Interface to the Visualization Toolkit"
arch=('any')
url="https://github.com/pyvista/pyvista"
license=('MIT')
depends=('python-appdirs'
	'python-imageio'
	'python-matplotlib'
	'python-pyqt5'
	'vtk'
)
replaces=('python-vtkinterface'
	'python-vista'
)
makedepends=('python-setuptools')
source=("https://github.com/pyvista/pyvista/archive/${pkgver}.tar.gz")
sha256sums=('c3ef71566ba8be576a07de2faf9978ea0a0041b289abafebbaaed54ab28ee94f')

package() {
	cd "$srcdir/$_pkgname-$pkgver"
	install -D -m644 \
		"${srcdir}/$_pkgname-$pkgver/LICENSE" \
		"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	python setup.py install --optimize=1 --root=$pkgdir
}