Browse Source

python/munch: Add Python 3 support.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
pull/47/head
Benjamin Trigona-Harany 7 years ago
parent
commit
60b9d97fb3
  1. 6
      python/munch/munch.SlackBuild
  2. 2
      python/munch/munch.info

6
python/munch/munch.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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \

2
python/munch/munch.info

@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/Infinidat/munch/archive/2.3.2/munch-2.3.2.tar.gz"
MD5SUM="23780cd524c19588c25dad3d338f957e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="python3"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"
Loading…
Cancel
Save