diff options
author | XavierCLL | 2016-12-13 12:31:29 -0500 |
---|---|---|
committer | XavierCLL | 2016-12-13 12:31:29 -0500 |
commit | bd5c959dafb01dd061745aa82a8e7fe0619af360 (patch) | |
tree | 2c314a054d9327611e1c8547283e693d8b8b6849 | |
parent | 57925445fdf861150c1c9dfbc362156074197ac0 (diff) | |
download | aur-bd5c959dafb01dd061745aa82a8e7fe0619af360.tar.gz |
Updated version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 31 insertions, 14 deletions
@@ -1,17 +1,22 @@ # Generated by mksrcinfo v8 -# Thu Apr 14 22:36:32 UTC 2016 -pkgbase = python2-rios +# Tue Dec 13 17:31:15 UTC 2016 +pkgbase = python-rios pkgdesc = A set of Python modules which makes it easy to write raster processing code in Python. Built on top of GDAL. - pkgver = 1.4.2 + pkgver = 1.4.3 pkgrel = 1 url = http://rioshome.org/ arch = any license = GPLv3 - depends = python2 - depends = python2-numpy + source = https://bitbucket.org/chchrsc/rios/downloads/rios-1.4.3.tar.gz + sha256sums = 2dfb4c4712e5182b49e92709d48a0ff79c89a8f1e2199aed9523de6c201600d8 + +pkgname = python-rios + depends = python + depends = python-numpy depends = gdal - source = https://bitbucket.org/chchrsc/rios/downloads/rios-1.4.2.tar.gz - sha256sums = c99565c74db254aeb8fd3018bd257fa89e48ed8a640461f6e140db6a375f6ec3 pkgname = python2-rios + depends = python2 + depends = python2-numpy + depends = gdal @@ -1,22 +1,34 @@ # Maintainer: XavierCLL -pkgname=python2-rios -pkgver=1.4.2 +pkgbase=python-rios +pkgname=('python-rios' 'python2-rios') +pkgver=1.4.3 pkgrel=1 pkgdesc="A set of Python modules which makes it easy to write raster processing code in Python. Built on top of GDAL." arch=('any') url="http://rioshome.org/" license=('GPLv3') -depends=('python2' 'python2-numpy' 'gdal') source=("https://bitbucket.org/chchrsc/rios/downloads/rios-$pkgver.tar.gz") -sha256sums=('c99565c74db254aeb8fd3018bd257fa89e48ed8a640461f6e140db6a375f6ec3') +sha256sums=('2dfb4c4712e5182b49e92709d48a0ff79c89a8f1e2199aed9523de6c201600d8') build() { - cd rios-$pkgver/ + cp -a ${srcdir}/rios-$pkgver ${srcdir}/rios-$pkgver-2 + + cd ${srcdir}/rios-$pkgver/ + python setup.py build + + cd ${srcdir}/rios-$pkgver-2/ python2 setup.py build } -package() { - cd rios-$pkgver/ +package_python-rios() { + depends=('python' 'python-numpy' 'gdal') + cd ${srcdir}/rios-$pkgver/ + python setup.py install --root="$pkgdir" +} + +package_python2-rios() { + depends=('python2' 'python2-numpy' 'gdal') + cd ${srcdir}/rios-$pkgver-2/ python2 setup.py install --root="$pkgdir" } |