From 2005e827de03a9a6381c25712086972b0061b03f Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 18 Nov 2018 15:52:11 -0800 Subject: python/lxml: Add python3 bindings by default Signed-off-by: Larry Hajali --- python/lxml/lxml.SlackBuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'python/lxml/lxml.SlackBuild') diff --git a/python/lxml/lxml.SlackBuild b/python/lxml/lxml.SlackBuild index df1ee9fe02..ed6222ed25 100644 --- a/python/lxml/lxml.SlackBuild +++ b/python/lxml/lxml.SlackBuild @@ -68,10 +68,8 @@ find -L . \ python2 setup.py build --with-unicode-strings python2 setup.py install --skip-build --root=$PKG -if [ "${PYTHON3:-no}" == "yes" ]; then - python3 setup.py build --with-unicode-strings - python3 setup.py install --skip-build --root=$PKG -fi +python3 setup.py build --with-unicode-strings +python3 setup.py install --skip-build --root=$PKG 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