2017-10-11 13:10:27 +02:00
|
|
|
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
|
|
|
|
pkgname=fslpy
|
2018-05-05 14:30:15 +02:00
|
|
|
pkgver=1.8.0
|
2018-05-14 11:55:23 +02:00
|
|
|
pkgrel=2
|
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')
|
2018-03-15 21:36:29 +01:00
|
|
|
makedepends=('python-six' 'python-numpy' 'python-scipy' 'python-deprecation' 'python-nibabel')
|
2017-10-11 13:10:27 +02:00
|
|
|
optdepends=()
|
|
|
|
provides=()
|
|
|
|
conflicts=()
|
|
|
|
replaces=()
|
|
|
|
source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fslpy/repository/archive.tar.gz?ref=$pkgver)
|
2018-05-05 14:30:15 +02:00
|
|
|
sha256sums=('2b04548fe255df82acda943b138f671bfd2e789867bcd20132e2fef6407bfb73')
|
2017-10-11 13:10:27 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
|
2018-05-14 11:55:23 +02:00
|
|
|
# "Patching for deprecation 2.x support
|
|
|
|
sed -i 's/deprecation>=1\.\*,<=2\.\*/deprecation>=1\.\*/g' requirements.txt
|
2017-10-11 13:10:27 +02:00
|
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
|
|
|
}
|