diff options
author | Michael Borders | 2019-05-15 16:10:43 -0400 |
---|---|---|
committer | Michael Borders | 2019-05-15 16:10:43 -0400 |
commit | ff4b2720b8be087ae9ea83a05537fd568f3aa588 (patch) | |
tree | b00b35fb13a50b56853d38b6e10c96b1bc05e406 | |
download | aur-ff4b2720b8be087ae9ea83a05537fd568f3aa588.tar.gz |
Version 0.20.1
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ef5f5bf02fb0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-pyvista + pkgdesc = A Streamlined Python Interface to the Visualization Toolkit + pkgver = 0.20.1 + pkgrel = 1 + url = https://github.com/pyvista/pyvista + arch = any + license = MIT + makedepends = python-setuptools + depends = python-appdirs + depends = python-imageio + depends = python-matplotlib + depends = python-pyqt5 + depends = vtk + replaces = python-vtkinterface + replaces = python-vista + source = https://github.com/pyvista/pyvista/archive/0.20.1.tar.gz + sha256sums = a340951292c41c1ae79a8b653f6253b4f402d55c359f5b1a3d26e7b8f93a3ea9 + +pkgname = python-pyvista + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b91629f51ceb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Michael Borders <michael.a.borders@gmail.com> +# Contributor: Martino Pilia <martino.pilia@gmail.com> +_pkgname=pyvista +pkgname=python-pyvista +pkgver=0.20.1 +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=('a340951292c41c1ae79a8b653f6253b4f402d55c359f5b1a3d26e7b8f93a3ea9') + +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 +} |