summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-09-02 23:23:09 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 23:22:32 +0700
commit9da611d3d482c10f75cc08f3822aad30db00b3c1 (patch)
treef4fc9ce4b5110e6fb0a64e4e765fed2e26afc1db
parent04f65b9937474f6edfae1d551146f518a534de4a (diff)
downloadslackbuilds-9da611d3d482c10f75cc08f3822aad30db00b3c1.tar.gz
gis/rasterio: Updated for version 0.12.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/rasterio/rasterio.SlackBuild8
-rw-r--r--gis/rasterio/rasterio.info8
2 files changed, 6 insertions, 10 deletions
diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild
index 25b2be759e..65a54565fa 100644
--- a/gis/rasterio/rasterio.SlackBuild
+++ b/gis/rasterio/rasterio.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rasterio
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,11 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/gis/rasterio/rasterio.info b/gis/rasterio/rasterio.info
index ed5d3f59e9..2cef0ccd6a 100644
--- a/gis/rasterio/rasterio.info
+++ b/gis/rasterio/rasterio.info
@@ -1,10 +1,10 @@
PRGNAM="rasterio"
-VERSION="0.6"
+VERSION="0.12.1"
HOMEPAGE="https://github.com/sgillies/rasterio"
-DOWNLOAD="https://github.com/sgillies/rasterio/archive/0.6.tar.gz"
-MD5SUM="4ca2eb664ef5f249fa48a40d44bde0d1"
+DOWNLOAD="https://github.com/sgillies/rasterio/archive/0.12.1.tar.gz"
+MD5SUM="c8e5c5e7e5e5a1512ce6a6bcf8212a71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Cython gdal numpy pysetuptools"
+REQUIRES="affine click Cython enum34 gdal numpy pysetuptools"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"