diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild index ff73519421..217ad4bbca 100644 --- a/gis/OWSLib/OWSLib.SlackBuild +++ b/gis/OWSLib/OWSLib.SlackBuild @@ -69,10 +69,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 | xargs 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/OWSLib/OWSLib.info b/gis/OWSLib/OWSLib.info index c0a409bb56..95184e2fab 100644 --- a/gis/OWSLib/OWSLib.info +++ b/gis/OWSLib/OWSLib.info @@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/geopython/OWSLib/archive/0.19.1/OWSLib-0.19.1.tar.g MD5SUM="198befd5de54cd909e2efbda45f73e1c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-dateutil pytz lxml six" +REQUIRES="python-dateutil python3-dateutil pytz lxml six python3-six" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net"