mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
gis/Fiona: 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
76b919854f
commit
cbe0d5d4ce
2 changed files with 2 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=Fiona
|
PRGNAM=Fiona
|
||||||
VERSION=${VERSION:-1.8.13}
|
VERSION=${VERSION:-1.8.13}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -69,7 +69,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
python2 setup.py install --root=$PKG
|
|
||||||
python3 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 \
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Toblerity/Fiona/archive/1.8.13/Fiona-1.8.13.tar.gz"
|
||||||
MD5SUM="19b13fb5321d9e0111eba7c031c52ede"
|
MD5SUM="19b13fb5321d9e0111eba7c031c52ede"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="attrs gdal munch six python3-six python3-Cython python3-attrs enum34 click-plugins cligj"
|
REQUIRES="gdal munch python3-six python3-Cython python3-attrs click-plugins cligj"
|
||||||
MAINTAINER="Benjamin Trigona-Harany"
|
MAINTAINER="Benjamin Trigona-Harany"
|
||||||
EMAIL="slackbuilds@jaxartes.net"
|
EMAIL="slackbuilds@jaxartes.net"
|
||||||
|
|
Loading…
Reference in a new issue