aboutsummaryrefslogtreecommitdiff
path: root/python/cssselect/cssselect.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-05-21 19:02:49 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2022-05-21 19:02:49 +0200
commit7eb2e69c0d54a0ef63a6abd35ba45d2e2be92693 (patch)
treeec92cdc31273c88c27218de223487409bff0bdab /python/cssselect/cssselect.SlackBuild
parentbefd92088eea811261140233f977f5efc59850f3 (diff)
python/cssselect: Build python3 support by default.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python/cssselect/cssselect.SlackBuild')
-rw-r--r--python/cssselect/cssselect.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/cssselect/cssselect.SlackBuild b/python/cssselect/cssselect.SlackBuild
index eefb6cd691..710eb6828d 100644
--- a/python/cssselect/cssselect.SlackBuild
+++ b/python/cssselect/cssselect.SlackBuild
@@ -66,10 +66,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
-
-if [ "${PYTHON3:-no}" == "yes" ]; then
- python3 setup.py install --root=$PKG
-fi
+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