From 8121d70b22d4db4557ac2acda1911f1d4788d66d Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Tue, 4 Apr 2017 17:15:27 +0100 Subject: python/pytz: Add python3 support. Signed-off-by: David Spencer --- python/pytz/pytz.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/pytz/pytz.SlackBuild') diff --git a/python/pytz/pytz.SlackBuild b/python/pytz/pytz.SlackBuild index c9ee62ae6d..58f5207360 100644 --- a/python/pytz/pytz.SlackBuild +++ b/python/pytz/pytz.SlackBuild @@ -57,6 +57,11 @@ find -L . \ python setup.py install --root=$PKG +# Install python3 bindings. Default is no. +if [ "${PYTHON3:-no}" = "yes" ]; then + 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