aboutsummaryrefslogtreecommitdiff
path: root/python/munch/munch.SlackBuild
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/munch.SlackBuild
parent4ab4a7e0a195dfe19e36beddf2365a3bec84acd9 (diff)
python/munch: Add Python 3 support.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/munch/munch.SlackBuild')
-rw-r--r--python/munch/munch.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/munch/munch.SlackBuild b/python/munch/munch.SlackBuild
index 5fa2a8358c927..851ff3c11254e 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 \