blob: 779552ba4f2ee05f57e605469d582c9a2d70a7b5 (
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.45.2
pkgrel=1
pkgdesc='3D plotting and mesh analysis through a streamlined interface for VTK'
arch=(any)
url=https://www.pyvista.org
license=(MIT)
depends=(python-numpy python-pillow python-pooch python-scooby vtk python-matplotlib)
optdepends=(python-meshio xorg-server-xvfb python-imageio)
makedepends=(python-build python-installer python-wheel python-setuptools)
_name=${pkgname#python-}
source=(https://github.com/pyvista/${_name}/archive/v${pkgver}/${_name}-${pkgver}.tar.gz)
sha512sums=('d5151a32967274eab4c9ca2ec0922118ec97eb2bc24e069d58e33f4cf81d574e18fa98550a2c0293a4519bc46957f6eb7c8a77109060b8fff83773c2396141fc')
build() {
cd ${_name}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${_name}-${pkgver}
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
}
|