summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-24 11:32:28 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commit5236838632b22d2c11876d57b7248d0be34394ac (patch)
tree6702911aef9b22f63d58fa0cffa1434779e4ab71 /gis
parent7dd3b13d30b997cae072f2e5dd063ebc2d7d1fd8 (diff)
downloadslackbuilds-5236838632b22d2c11876d57b7248d0be34394ac.tar.gz
gis/geojson: Updated for version 1.3.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis')
-rw-r--r--gis/geojson/geojson.SlackBuild9
-rw-r--r--gis/geojson/geojson.info8
2 files changed, 9 insertions, 8 deletions
diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild
index 774ff3e390..ec12a7077b 100644
--- a/gis/geojson/geojson.SlackBuild
+++ b/gis/geojson/geojson.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=geojson
-VERSION=${VERSION:-1.0.6}
+SRCNAM=python-geojson
+VERSION=${VERSION:-1.3.1}
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 $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/gis/geojson/geojson.info b/gis/geojson/geojson.info
index 49ee3debb5..e6bc2dbdc4 100644
--- a/gis/geojson/geojson.info
+++ b/gis/geojson/geojson.info
@@ -1,8 +1,8 @@
PRGNAM="geojson"
-VERSION="1.0.6"
-HOMEPAGE="https://github.com/frewsxcv/geojson"
-DOWNLOAD="https://pypi.python.org/packages/source/g/geojson/geojson-1.0.6.tar.gz"
-MD5SUM="49bd5fcff7d43d4c295a86c886a17b8f"
+VERSION="1.3.1"
+HOMEPAGE="https://github.com/frewsxcv/python-geojson"
+DOWNLOAD="https://github.com/frewsxcv/python-geojson/archive/1.3.1.tar.gz"
+MD5SUM="d78e3afaec1fd76893de8bfcdb805383"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""