24 lines
869 B
Bash
24 lines
869 B
Bash
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
|
|
pkgname=fslpy
|
|
pkgver=1.11.1
|
|
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-scipy' 'python-deprecation' 'python-nibabel')
|
|
optdepends=()
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fslpy/repository/archive.tar.gz?ref=$pkgver)
|
|
sha256sums=('69449ccf8b6deae39e509c849daf0502eb1842dd25ebf687a8a5db8e1382c617')
|
|
|
|
package() {
|
|
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
|
|
# "Patching for deprecation 2.x support
|
|
sed -i 's/deprecation>=1\.\*,<=2\.\*/deprecation>=1\.\*/g' requirements.txt
|
|
python setup.py install --root="$pkgdir/" --optimize=1
|
|
}
|