diff options
Diffstat (limited to 'gis/rasterio')
-rw-r--r-- | gis/rasterio/README | 12 | ||||
-rw-r--r-- | gis/rasterio/rasterio.SlackBuild | 20 | ||||
-rw-r--r-- | gis/rasterio/rasterio.info | 8 |
3 files changed, 26 insertions, 14 deletions
diff --git a/gis/rasterio/README b/gis/rasterio/README index 87e9c97595..b9559ff4d1 100644 --- a/gis/rasterio/README +++ b/gis/rasterio/README @@ -1,9 +1,11 @@ -Fast and direct geospatial raster I/O for Python programmers who use Numpy. +Fast and direct geospatial raster I/O for Python programmers who use +Numpy. -This package is aimed at developers who want little more than to read raster -images into Numpy arrays or buffers, operate on them in Python (or Cython), and -write the results out to new GeoTIFF files. +This package is aimed at developers who want little more than to read +raster images into Numpy arrays or buffers, operate on them in Python +(or Cython), and write the results out to new GeoTIFF files. -Rasterio employs GDAL under the hood for file I/O and raster formatting. +Rasterio employs GDAL under the hood for file I/O and raster +formatting. Optional dependencies: boto3. diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild index 5243134ef0..1e607ae709 100644 --- a/gis/rasterio/rasterio.SlackBuild +++ b/gis/rasterio/rasterio.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # SlackBuild script for rasterio -# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,10 +24,13 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=rasterio -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.2.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -86,4 +96,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/gis/rasterio/rasterio.info b/gis/rasterio/rasterio.info index bc2f0972ad..5d25597e44 100644 --- a/gis/rasterio/rasterio.info +++ b/gis/rasterio/rasterio.info @@ -1,10 +1,10 @@ PRGNAM="rasterio" -VERSION="1.2.0" +VERSION="1.2.6" HOMEPAGE="https://github.com/mapbox/rasterio" -DOWNLOAD="https://github.com/mapbox/rasterio/archive/1.2.0/rasterio-1.2.0.tar.gz" -MD5SUM="3b36b46655319c6367765674bb01ed2b" +DOWNLOAD="https://github.com/mapbox/rasterio/archive/1.2.6/rasterio-1.2.6.tar.gz" +MD5SUM="6c8eac345f3268d9edde10820c8cfcef" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="affine click-plugins cligj gdal snuggs numpy3 python3-attrs python3-Cython python3-pyparsing" +REQUIRES="affine click-plugins cligj gdal snuggs python3-attrs" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |