diff options
author | wedjat | 2018-03-13 22:13:36 +0100 |
---|---|---|
committer | wedjat | 2018-03-13 22:13:36 +0100 |
commit | 76c93744b6a8f0b5d65317a2145122bb5439310e (patch) | |
tree | de7c62ba4c8db3e5af52d4d79f5a4945867df419 /PKGBUILD | |
parent | 5241c7ac58fa3a01be91ec137d7fbb6f04639372 (diff) | |
download | aur-76c93744b6a8f0b5d65317a2145122bb5439310e.tar.gz |
New maintainer; update to version 2.2.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 53 |
1 files changed, 25 insertions, 28 deletions
@@ -1,36 +1,33 @@ -# Maintainer: Masoud <mpoloton@gmail.com> +# Maintainer: wedjat <wedjat@protonmail.com> +# Contributor: Masoud <mpoloton@gmail.com> pkgname=python-nibabel -pkgver=2.1.0 +pkgver=2.2.1 pkgrel=1 pkgdesc='Python library for reading and writing of some common neuroimaging file formats' -arch=('i686' 'x86_64') -url="http://nipy.org/nibabel" -license=('MIT') - -depends=( 'python' - 'python-numpy>=1.5' ) - -optdepends=( 'python-scipy: for full SPM-ANALYZE support' - 'python-pydicom>=0.9.7: for DICOM support' - 'python-pillow: for PNG conversion in DICOMFS' ) - -makedepends=('python-setuptools' 'python-nose' 'python-mock') -source=("https://github.com/nipy/nibabel/archive/${pkgver}.tar.gz") -md5sums=('f6e213894939aece4619e3a45259dfbd') - - -build() { - msg "Building ..." - cd "$srcdir/nibabel-${pkgver}" - python setup.py build +arch=('x86_64') #i686 not tested +url='http://nipy.org/nibabel/index.html' +license=('MIT' 'BSD') +depends=('python' 'python-numpy>=1.7.1' 'python-six>=1.3') +# building documentation may not work properly, since authors tell to use sphinx <=1.5.6, because "Sphinx >= 1.6 breaks the math_dollar extension" +makedepends=('python-setuptools') #('python-sphinx' 'python-numpydoc' 'python-matplotlib>=1.3') +# checkdepends=('python-nose' 'python-mock') +optdepends=('python-scipy: for full SPM-ANALYZE support' 'python-pydicom>=0.9.7: for DICOM support' + 'python-pillow: for PNG conversion in DICOMFS' 'python-indexed-gzip') +install= +source=("$pkgname-$pkgver.tar.gz::https://github.com/nipy/nibabel/archive/$pkgver.tar.gz") +md5sums=('92a9d5d3d5de6bfb8754f8e4ba310e2d') + +build() +{ + cd "$srcdir/nibabel-$pkgver" + python setup.py build } -package_python-nibabel() { - - cd "$srcdir/nibabel-${pkgver}" - - python setup.py install --skip-build --root="$pkgdir" --optimize=1 - +package() +{ + cd "$srcdir/nibabel-$pkgver" + python setup.py install --skip-build --root="$pkgdir" --optimize=1 } + |