From 7bfe32588c6222336c71256da8d050e44cbde035 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 4 Apr 2017 21:50:57 +0100 Subject: python/pyicu: Add python3 support. Signed-off-by: David Spencer --- python/pyicu/pyicu.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/pyicu/pyicu.SlackBuild') diff --git a/python/pyicu/pyicu.SlackBuild b/python/pyicu/pyicu.SlackBuild index f55f1c17dd4de..d9f91aeb08779 100644 --- a/python/pyicu/pyicu.SlackBuild +++ b/python/pyicu/pyicu.SlackBuild @@ -59,6 +59,11 @@ find -L . \ python setup.py install --root=$PKG +if [ "${PYTHON3:-no}" = "yes" ]; then + rm -rf build + python3 setup.py install --root=$PKG +fi + find $PKG | xargs 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