summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ddc0cd0c20915fb7b1e3272623ed0c02fad9494a (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
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>

_pkgname=dipy
pkgname=python-dipy
pkgver=1.5.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=("https://github.com/nipy/dipy/archive/${pkgver}.tar.gz")
sha256sums=('73b3784914fa9b892479b65a994b3971b145fb58c9c6d346bf62cda4d9798da6')

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    python setup.py install --optimize=1 --root="$pkgdir"
}