23 lines
889 B
Bash
23 lines
889 B
Bash
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
|
|
pkgname=fslpy
|
|
pkgver=3.10.0
|
|
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=()
|
|
# Keep python-deprecated to keep FEAT check of FSL FEEDS from failing
|
|
depends=('python' 'python-six' 'python-numpy' 'python-scipy' 'python-nibabel' 'python-h5py' 'python-deprecation' 'python-dataclasses')
|
|
makedepends=('python-setuptools')
|
|
optdepends=('python-rtree' 'python-pillow')
|
|
provides=()
|
|
conflicts=()
|
|
replaces=()
|
|
source=(https://git.fmrib.ox.ac.uk/fsl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('aa08ea45bfba1951fd21abf02e15602facfb7347d13c3c502b6184bafdb45e7e')
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
python setup.py install --root="${pkgdir}/" --optimize=1
|
|
}
|