# Contributor: Holger Jaekel # Maintainer: Holger Jaekel _pkgname=rasterio pkgname=py3-$_pkgname pkgver=1.1.2 pkgrel=0 pkgdesc="Fast and direct raster I/O for use with Numpy and SciPy" url="https://pypi.python.org/pypi/rasterio" arch="all !s390x !x86 !armhf !armv7" license="BSD-3-Clause" depends=" py3-affine py3-attrs py3-boto3 py3-click py3-click-plugins py3-cligj py3-matplotlib py3-numpy py3-snuggs " makedepends=" cython gdal-dev py3-numpy-dev python3-dev " checkdepends=" pytest py3-hypothesis py3-sphinx " source=" rasterio-$pkgver.tar.gz::https://github.com/mapbox/rasterio/archive/$pkgver.tar.gz 10-cython.patch 20-gdal.patch " builddir="$srcdir/rasterio-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=2 } sha512sums="51d5368b76eddb04a0bbb93d631a010071bb3938173bb2f1ac658e25195bcb44da6913355464981dac68513f9451ae43caf6adc1289c75e8bccbd21ba08c80c5 rasterio-1.1.2.tar.gz 6b1ddb4b5454349be4bfe57a3087571ff3d1540f2e6e57f7f2242594b918c428add199af0212d8a76b052c4a6104880ff51a2ddd7e66b768b2dcfb1e49083cb5 10-cython.patch 5cbde5b15e8a82d9dc8bfc48b5cd07ccc4ff6a0b8bb723b0edec27a8dbafed4fc0f14585aa06a77ec88faad924ca8786001d8b0dd3d5b83774674424e1f7eaac 20-gdal.patch"