gis/Shapely: Remove Python 2 support.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2020-05-10 09:50:54 -07:00 committed by Willy Sudiarto Raharjo
parent cbe0d5d4ce
commit a07ee5abdb
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -24,7 +24,7 @@
PRGNAM=Shapely
VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -72,7 +72,6 @@ find -L . \
# remove unnecessary .pxi file
sed -i "s/data_files\s*=.*/data_files = [],/g" setup.py
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 \