summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c6cddea936afd49b233e0ec7b959cfc2c5393f8 (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
28
29
30
31
32
33
34
35
36
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>

_name=dipy
pkgname=python-dipy
pkgver=1.9.0
pkgrel=1
pkgdesc="Diffusion MR imaging in Python"
arch=('x86_64')
url="https://dipy.org"
license=('BSD')
depends=(
    'python-h5py'
    'python-nibabel'
    'python-numpy'
    'python-packaging'
    'python-scipy'
    'python-tqdm'
)
makedepends=('python-setuptools' 'cython')
checkdepends=('python-pytest')
source=(
    "$_name-$pkgver.tar.gz::https://github.com/dipy/dipy/archive/${pkgver}.tar.gz"
)
sha256sums=('2760c3d1456dd3620c88836b2aa7d576e73bea10a28ccd795f1582bfaefb4ff1')

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}