From cdaee615fe8b0f0f2092bd109b82149efc960865 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 18 Jan 2020 07:42:06 +0700 Subject: development/zope.interface: Add python3 support. Signed-off-by: Willy Sudiarto Raharjo --- development/zope.interface/zope.interface.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/development/zope.interface/zope.interface.SlackBuild b/development/zope.interface/zope.interface.SlackBuild index fcd0e1c64a..66025eadbe 100644 --- a/development/zope.interface/zope.interface.SlackBuild +++ b/development/zope.interface/zope.interface.SlackBuild @@ -57,6 +57,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +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