summaryrefslogtreecommitdiffstats
path: root/python/pyicu/pyicu.SlackBuild
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2021-04-19 22:06:27 -0500
committer Robby Workman <rworkman@slackbuilds.org>2021-04-19 22:06:27 -0500
commitef7716f86daa446d9bcac3167e6e03c36a74c4b3 (patch)
treee597b96800bbb6345a3e217355560514d2339ce2 /python/pyicu/pyicu.SlackBuild
parent92ece461ba522f05260e6705a21ca3950699f742 (diff)
downloadslackbuilds-ef7716f86daa446d9bcac3167e6e03c36a74c4b3.tar.gz
slackbuilds-ef7716f86daa446d9bcac3167e6e03c36a74c4b3.tar.xz
python/pyicu: Build with python3 unconditionally
Diffstat (limited to 'python/pyicu/pyicu.SlackBuild')
-rw-r--r--python/pyicu/pyicu.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/python/pyicu/pyicu.SlackBuild b/python/pyicu/pyicu.SlackBuild
index bf2bb1d31a..e1d22e84ef 100644
--- a/python/pyicu/pyicu.SlackBuild
+++ b/python/pyicu/pyicu.SlackBuild
@@ -57,12 +57,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
-
-if [ "${PYTHON3:-no}" = "yes" ]; then
- rm -rf build
- python3 setup.py install --root=$PKG
-fi
+python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true