aboutsummaryrefslogtreecommitdiff
path: root/python/munch
diff options
context:
space:
mode:
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"