aur/PKGBUILD

25 lines
890 B
Text
Raw Normal View History

2017-10-11 13:10:27 +02:00
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fslpy
2018-12-06 17:16:18 +01:00
pkgver=1.13.2
2018-12-12 21:49:44 +01: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-12-12 21:49:44 +01:00
makedepends=('python-setuptools' '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-12-06 17:16:18 +01:00
sha256sums=('f1f10d742b96f25357d6890c91e4cc13f7c18a44fd1c64e90601ef9be6ccff64')
2017-10-11 13:10:27 +02:00
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver-"*
2018-12-06 17:16:18 +01:00
# "Patching" for deprecation 2.x support
2018-05-14 11:55:23 +02:00
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
}