aur/PKGBUILD
Tobias Bachmann f2106a4276 Version bump
2018-01-11 17:59:50 +01:00

24 lines
885 B
Bash

# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
pkgver=1.5.4
pkgrel=1
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=()
depends=('python')
makedepends=('python-six' 'python-numpy' 'python-matplotlib' 'python-deprecation' 'python-nibabel' 'wxpython-phoenix' 'python-indexed-gzip')
optdepends=()
provides=()
conflicts=()
replaces=()
source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fslpy/repository/archive.tar.gz?ref=$pkgver)
sha256sums=('a81346aff4c0ea8d01645d48bb877f1fc5ed6df1928df398d67bc697c49986ee')
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
# "Patching" for scipy 1.0 support
sed -i 's/scipy>=0\.18,<1/scipy/g' requirements.txt
python setup.py install --root="$pkgdir/" --optimize=1
}