aur/PKGBUILD

25 lines
885 B
Text
Raw Normal View History

2017-10-11 13:10:27 +02:00
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
2017-12-06 13:35:49 +01:00
pkgver=1.4.2
2017-11-15 15:52:39 +01: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=()
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)
2017-12-06 13:35:49 +01:00
sha256sums=('b12ac2253d4411fff6215a2a994cdad207628f61bcb249c57e92462b0d6d5ce4')
2017-10-11 13:10:27 +02:00
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
2017-11-06 12:42:35 +01:00
# "Patching" for scipy 1.0 support
sed -i 's/scipy>=0\.18,<1/scipy/g' requirements.txt
2017-10-11 13:10:27 +02:00
python setup.py install --root="$pkgdir/" --optimize=1
}