1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-rasterio/APKBUILD
2023-03-01 23:37:51 +00:00

54 lines
1,021 B
Text
Executable file

# Contributor: Holger Jaekel <holger.jaekel@gmx.de>
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=py3-rasterio
pkgver=1.3.6
pkgrel=1
pkgdesc="Fast and direct raster I/O for use with Numpy and SciPy"
url="https://pypi.org/project/rasterio"
arch="all"
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
py3-setuptools
python3-dev
"
checkdepends="
gdal-driver-HDF5
gdal-tools
pytest
py3-hypothesis
py3-shapely
"
source="
rasterio-$pkgver.tar.gz::https://github.com/mapbox/rasterio/archive/$pkgver.tar.gz
"
builddir="$srcdir/rasterio-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a2e55a8e8dbc60dd0343c59aba1e41504fd024285a17fe5173331bca14eb01b880df4e9489afb40b56ae0a5d0a92481308dc60d0ff22d8c4097e25328c6d3b1e rasterio-1.3.6.tar.gz
"