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:
parent
cbe0d5d4ce
commit
a07ee5abdb
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue