blob: 06a62a7b8668a05fed2fc518b0b281e64621206e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Tobias Bachmann <tobachmann@gmx.de>
pkgname=fsleyes-props
pkgver=1.12.2
pkgrel=1
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' 'fslpy>=3.13.2' 'fsleyes-widgets>=0.14.3' 'python-build' 'python-installer' 'python-wheel')
optdepends=()
provides=()
conflicts=()
replaces=()
source=("https://git.fmrib.ox.ac.uk/fsl/fsleyes/${pkgname#fsleyes-}/-/archive/${pkgver}/${pkgname#fsleyes-}-${pkgver}.tar.gz")
sha256sums=('5aae12ff9de0b92cabeced75eae1ef9e51033b48f22579bcf9d5daa5139269d4')
build() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver"
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_fsleyes_props=${pkgver} python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/${pkgname#fsleyes-}-$pkgver"
python -m installer --destdir="$pkgdir/" dist/*.whl
}
|