aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-rasterio/APKBUILD
blob: c5b88cdac7ce559e34880a6f31a3d3e11bbb238a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# 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"