summaryrefslogtreecommitdiff
path: root/gis/basemap
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2019-03-13 20:39:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:22 +0700
commit384c1488491732856b592bf0a67122b3133bab6b (patch)
tree095958c2a9ec202dbb78aae261e0b24af7daa755 /gis/basemap
parent875ab70ef1333fae880aef6021302494677246e3 (diff)
downloadslackbuilds-384c1488491732856b592bf0a67122b3133bab6b.tar.gz
gis/basemap: Updated for version 1.2.0 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/basemap')
-rw-r--r--gis/basemap/basemap.SlackBuild13
-rw-r--r--gis/basemap/basemap.info14
-rw-r--r--gis/basemap/slack-desc2
3 files changed, 15 insertions, 14 deletions
diff --git a/gis/basemap/basemap.SlackBuild b/gis/basemap/basemap.SlackBuild
index 5cf2cc4ee8..b972ec9699 100644
--- a/gis/basemap/basemap.SlackBuild
+++ b/gis/basemap/basemap.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for basemap
-# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
+# Originally written by Dimitris Zlatanidis <d.zlatanidis@gmail.com>
+# Copyright (c) 2019 Cristiano Urban, Gonars, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=basemap
-VERSION=${VERSION:-1.0.7}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-${VERSION}rel
+tar xvf $CWD/$PRGNAM-${VERSION}rel.tar.gz
+cd $PRGNAM-${VERSION}rel
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE* README Changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE* README.md Changelog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/gis/basemap/basemap.info b/gis/basemap/basemap.info
index 4ca0bd0bf8..f5a63829a3 100644
--- a/gis/basemap/basemap.info
+++ b/gis/basemap/basemap.info
@@ -1,10 +1,10 @@
PRGNAM="basemap"
-VERSION="1.0.7"
-HOMEPAGE="https://sourceforge.net/projects/matplotlib/"
-DOWNLOAD="http://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz"
-MD5SUM="48c0557ced9e2c6e440b28b3caff2de8"
+VERSION="1.2.0"
+HOMEPAGE="https://github.com/matplotlib/basemap/"
+DOWNLOAD="https://github.com/matplotlib/basemap/archive/v1.2.0rel/basemap-1.2.0rel.tar.gz"
+MD5SUM="f8e64bd150590223701a48d60408e939"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="numpy geos matplotlib"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="geos matplotlib pyproj pyshp"
+MAINTAINER="Cristiano Urban"
+EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/gis/basemap/slack-desc b/gis/basemap/slack-desc
index 748c55a411..ef632ef9de 100644
--- a/gis/basemap/slack-desc
+++ b/gis/basemap/slack-desc
@@ -11,7 +11,7 @@ basemap:
basemap: Plot on map projections (with coastlines and political boundaries)
basemap: using matplotlib.
basemap:
-basemap: Homepage: https://sourceforge.net/projects/matplotlib/
+basemap: Homepage: https://github.com/matplotlib/basemap/
basemap:
basemap:
basemap: