# Maintainer: Tobias Bachmann pkgname=fslpy pkgver=3.18.1 pkgrel=1 pkgdesc="fslpy is the python library collection used by FSL and related projects" 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-numpy' 'python-scipy' 'python-nibabel' 'python-h5py' 'python-dill') makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') optdepends=('python-rtree' 'python-pillow' 'python-indexed-gzip' 'python-trimesh') provides=() conflicts=() replaces=() source=(https://git.fmrib.ox.ac.uk/fsl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=('961e0749fce6ecf0d28abf8ca0544a1df476c2d595b2dcec01f488ebe83f75a0') build() { cd "${srcdir}/${pkgname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${srcdir}/${pkgname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }