diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 23:52:46 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 23:52:46 -0500 |
commit | 499a0b74b91a43d6f56e04d6b3ed82997f27613d (patch) | |
tree | 13823f562fdbbe33d2dbbd9a899a1bebe5c1ef98 /python/cssutils | |
parent | e48218d43aa8ff9f1a2fce6b69af9370562d88c0 (diff) |
python/cssutils: Build with python3 by default
Diffstat (limited to 'python/cssutils')
-rw-r--r-- | python/cssutils/cssutils.SlackBuild | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/cssutils/cssutils.SlackBuild b/python/cssutils/cssutils.SlackBuild index 577dfae5332c..f32d75b47ca7 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 |