aboutsummaryrefslogtreecommitdiff
path: root/python/munch
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-08-12 21:08:35 -0700
committerBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-08-12 21:08:38 -0700
commit60b9d97fb32fb24a9ad4e24fdfb13e94a815b34b (patch)
tree429a1ad234966a3a01c0c73c549053a6ef80374d /python/munch
parent4ab4a7e0a195dfe19e36beddf2365a3bec84acd9 (diff)
python/munch: Add Python 3 support.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/munch')
-rw-r--r--python/munch/munch.SlackBuild6
-rw-r--r--python/munch/munch.info2
2 files changed, 3 insertions, 5 deletions
diff --git a/python/munch/munch.SlackBuild b/python/munch/munch.SlackBuild
index 5fa2a8358c92..851ff3c11254 100644
--- a/python/munch/munch.SlackBuild
+++ b/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 \
diff --git a/python/munch/munch.info b/python/munch/munch.info
index 31b93d93fd17..7fa3fa508d3f 100644
--- a/python/munch/munch.info
+++ b/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"