mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/OWSLib: Python 3 by default.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
This commit is contained in:
parent
c346fc57c1
commit
4320e0f862
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
python2 setup.py install --root=$PKG
|
||||
python3 setup.py install --root=$PKG
|
||||
fi
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue