From 60b9d97fb32fb24a9ad4e24fdfb13e94a815b34b Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sun, 12 Aug 2018 21:08:35 -0700 Subject: python/munch: Add Python 3 support. Signed-off-by: Benjamin Trigona-Harany --- python/munch/munch.SlackBuild | 6 ++---- python/munch/munch.info | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'python/munch') 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 \ diff --git a/python/munch/munch.info b/python/munch/munch.info index 31b93d93fd17f..7fa3fa508d3f3 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" -- cgit v1.2.3