# Maintainer: Tobias Bachmann pkgname=fsleyes-props pkgver=1.6.0 pkgrel=2 pkgdesc="The fsleyes-props project is an event programming framework, which includes the ability for automatic CLI generation and, optionally, automatic GUI generation (if wxPython is present). It is 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-matplotlib' 'python-deprecation' 'python-wxpython>=4.0.1-2' 'fslpy>=1.8.0' 'fsleyes-widgets') optdepends=() provides=() conflicts=() replaces=() source=($pkgname-$pkgver.tar.gz::https://git.fmrib.ox.ac.uk/fsl/fsleyes/props/repository/archive.tar.gz?ref=$pkgver) sha256sums=('8b1dd13f0c193b6e7f758c2a59f74e7c703af1390f038474dec521ec3713f768') 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 }