aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/geojson/geojson.SlackBuild8
-rw-r--r--gis/geojson/geojson.info8
2 files changed, 7 insertions, 9 deletions
diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild
index dde30f6be87f..983322cc970c 100644
--- a/gis/geojson/geojson.SlackBuild
+++ b/gis/geojson/geojson.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=geojson
SRCNAM=python-$PRGNAM
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,10 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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
diff --git a/gis/geojson/geojson.info b/gis/geojson/geojson.info
index 7899eb21fea9..873754f0bc00 100644
--- a/gis/geojson/geojson.info
+++ b/gis/geojson/geojson.info
@@ -1,10 +1,10 @@
PRGNAM="geojson"
-VERSION="2.4.0"
+VERSION="2.4.1"
HOMEPAGE="https://github.com/frewsxcv/python-geojson"
-DOWNLOAD="https://github.com/frewsxcv/python-geojson/archive/2.4.0/python-geojson-2.4.0.tar.gz"
-MD5SUM="c5536d4c6ba133646d9558f7ec5fbc76"
+DOWNLOAD="https://github.com/frewsxcv/python-geojson/archive/2.4.1/python-geojson-2.4.1.tar.gz"
+MD5SUM="0a89d69195d962e6ae94fc674569adb9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"