From 499a0b74b91a43d6f56e04d6b3ed82997f27613d Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 20 Apr 2021 23:52:46 -0500 Subject: python/cssutils: Build with python3 by default --- python/cssutils/cssutils.SlackBuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'python/cssutils') diff --git a/python/cssutils/cssutils.SlackBuild b/python/cssutils/cssutils.SlackBuild index 577dfae5332cb..f32d75b47ca70 100644 --- a/python/cssutils/cssutils.SlackBuild +++ b/python/cssutils/cssutils.SlackBuild @@ -63,11 +63,8 @@ for FILE in $(find . -type f -exec grep -Pl '\r$' {} \;); do done python setup.py install --root=$PKG - -if [ "${PYTHON3:-no}" == "yes" ]; then - rm -rf build - python3 setup.py install --root=$PKG -fi +rm -rf build +python3 setup.py install --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