diff options
author | Liam Timms | 2020-03-11 23:00:59 -0400 |
---|---|---|
committer | Liam Timms | 2020-03-11 23:00:59 -0400 |
commit | 7adc648a11ec1faa494cbf2d533c58fa42ea079f (patch) | |
tree | e8c4e22facabc15dd340870c8414d82e582bbc3b /PKGBUILD | |
parent | 9cc396a05f2b435dd3a8a0b970341db4a6814931 (diff) | |
download | aur-7adc648a11ec1faa494cbf2d533c58fa42ea079f.tar.gz |
version bump and license fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -4,32 +4,32 @@ # Contributor: Masoud <mpoloton@gmail.com> pkgname=python-nibabel -pkgver=3.0.1 +_pkgname=nibabel +pkgver=3.0.2 pkgrel=1 pkgdesc='Python library for reading and writing of some common neuroimaging file formats' arch=('any') -url='http://nipy.org/nibabel/index.html' -license=('MIT' 'BSD') -depends=('python' 'python-numpy>=1.8' 'python-six>=1.3') +url='http://nipy.org/nibabel' +license=('MIT') +depends=('python' 'python-numpy>=1.13' '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') +makedepends=('python-setuptools') # checkdepends=('python-nose' 'python-mock') -optdepends=('python-scipy: for full SPM-ANALYZE support' 'python-pydicom: (>=0.9.9) 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") -sha512sums=('6d809ac4be99bcd009cd0603ab126e46f8c04f12f9f5eb6f2a048bef1189933f41b302252317616324733ae3617fc3cc52e0e086470efe59cb1112d6ccc3bf38') +optdepends=('python-scipy: for full SPM-ANALYZE support' 'python-pydicom: for DICOM support' 'python-pillow: for PNG conversion in DICOMFS' 'python-h5py: for MINC2 support' 'python-indexed-gzip') +source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/nipy/${_pkgname}/archive/${pkgver}.tar.gz") +sha512sums=('51a10a72ade0382e43a006a0b9453b0c00f962a1c0d32c7a9da6ce3b9c95db05cd3bd672389d514107768b688a8315cba2e34d52bc845db3ca3e7912a1a0a8ac') build() { - cd "$srcdir/nibabel-$pkgver" + cd "$srcdir/${_pkgname}-$pkgver" python setup.py build } package() { - cd "$srcdir/nibabel-$pkgver" + cd "$srcdir/${_pkgname}-$pkgver" python setup.py install --skip-build --root="$pkgdir" --optimize=1 + install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } |