aur/PKGBUILD

24 lines
903 B
Bash
Raw Normal View History

2017-10-11 13:10:27 +02:00
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
2020-06-23 20:40:01 +02:00
pkgver=3.2.0
2019-04-05 20:17:08 +02:00
pkgrel=1
2017-10-11 13:10:27 +02:00
pkgdesc="The fslpy package is a collection of utilities and data abstractions used by FSLeyes."
arch=('any')
url="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSLeyes"
license=('Apache')
groups=()
2019-10-09 15:20:26 +02:00
# Keep python-deprecated to keep FEAT check of FSL FEEDS from failing
2020-06-23 20:40:01 +02:00
depends=('python' 'python-six' 'python-numpy' 'python-scipy' 'python-nibabel' 'python-h5py' 'python-deprecation' 'python-dataclasses')
2019-03-23 18:31:35 +01:00
makedepends=('python-setuptools')
2019-10-09 15:20:26 +02:00
optdepends=('python-rtree' 'python-pillow')
2017-10-11 13:10:27 +02:00
provides=()
conflicts=()
replaces=()
source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fslpy/repository/archive.tar.gz?ref=$pkgver)
2020-06-23 20:40:01 +02:00
sha256sums=('a7f61dfb2cde516efc55daa88263ae5006da0ab0fd4a10a8c8e1c290cf409920')
2017-10-11 13:10:27 +02:00
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
python setup.py install --root="$pkgdir/" --optimize=1
}