diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-18 07:42:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-18 07:42:06 +0700 |
commit | cdaee615fe8b0f0f2092bd109b82149efc960865 (patch) | |
tree | 1e32442813695211841f4f9de0caf0d8fe28442c /development | |
parent | b604b899eac64c1eca513cf29fb1d8c45ac58ddd (diff) |
development/zope.interface: Add python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/zope.interface/zope.interface.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/development/zope.interface/zope.interface.SlackBuild b/development/zope.interface/zope.interface.SlackBuild index fcd0e1c64ac40..66025eadbedfa 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 |