diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-05-22 20:42:04 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-26 06:59:34 +0700 |
commit | 5e9fcb33ad4de178cc38f490553dd35efd06fd71 (patch) | |
tree | 92316ea6ccff504a58a614ad1e8539ac650cf7e9 | |
parent | 23f9b277298279787d4d5e3e5bc120fbc4b44ddd (diff) | |
download | slackbuilds-5e9fcb33ad4de178cc38f490553dd35efd06fd71.tar.gz |
gis/geojson: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r-- | gis/geojson/geojson.SlackBuild | 15 | ||||
-rw-r--r-- | gis/geojson/geojson.info | 6 |
2 files changed, 12 insertions, 9 deletions
diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild index 61e2f26e3a..dde30f6be8 100644 --- a/gis/geojson/geojson.SlackBuild +++ b/gis/geojson/geojson.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for geojson -# Copyright 2013 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geojson -VERSION=${VERSION:-2.3.0} +SRCNAM=python-$PRGNAM +VERSION=${VERSION:-2.4.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 $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$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 \ @@ -78,7 +79,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGELOG.rst LICENSE.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGELOG.rst LICENSE.rst README.rst \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/geojson/geojson.info b/gis/geojson/geojson.info index e10ca2f703..7899eb21fe 100644 --- a/gis/geojson/geojson.info +++ b/gis/geojson/geojson.info @@ -1,8 +1,8 @@ PRGNAM="geojson" -VERSION="2.3.0" +VERSION="2.4.0" HOMEPAGE="https://github.com/frewsxcv/python-geojson" -DOWNLOAD="https://files.pythonhosted.org/packages/source/g/geojson/geojson-2.3.0.tar.gz" -MD5SUM="832898dc14097cd01c735fac253bf1f0" +DOWNLOAD="https://github.com/frewsxcv/python-geojson/archive/2.4.0/python-geojson-2.4.0.tar.gz" +MD5SUM="c5536d4c6ba133646d9558f7ec5fbc76" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |