From 9cea044e3485af4af4794808af97d7c6fde3c9a4 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 17 Jul 2017 01:03:41 +0700 Subject: python/idna: Add python3 support. Signed-off-by: Willy Sudiarto Raharjo --- python/idna/idna.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/idna/idna.SlackBuild') diff --git a/python/idna/idna.SlackBuild b/python/idna/idna.SlackBuild index c8a3b3f942..9072121cfd 100644 --- a/python/idna/idna.SlackBuild +++ b/python/idna/idna.SlackBuild @@ -71,6 +71,10 @@ find -L . \ python setup.py install --root=$PKG +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3