1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/testing/py3-rasterio/APKBUILD

54 lines
1.3 KiB
Text

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
_pkgname=rasterio
pkgname=py3-$_pkgname
pkgver=1.1.3
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="ccd573d3010bbb2b83a61b0ea6660878e1b66aaf6e7c6168522e2c0a9c18845fceac047e0d949ee2df9159f2d269a1bb027f203c2bc5a9db833e53de337e3e91 rasterio-1.1.3.tar.gz
6b1ddb4b5454349be4bfe57a3087571ff3d1540f2e6e57f7f2242594b918c428add199af0212d8a76b052c4a6104880ff51a2ddd7e66b768b2dcfb1e49083cb5 10-cython.patch
5cbde5b15e8a82d9dc8bfc48b5cd07ccc4ff6a0b8bb723b0edec27a8dbafed4fc0f14585aa06a77ec88faad924ca8786001d8b0dd3d5b83774674424e1f7eaac 20-gdal.patch"