aboutsummaryrefslogtreecommitdiff
path: root/libraries/html5lib/html5lib.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2020-01-26 12:03:23 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-01 09:00:35 +0700
commitce225276535893662ec13e21aac058ed6de742ab (patch)
treeb8959750ee607feafa19810c98a6bc25930aa39c /libraries/html5lib/html5lib.SlackBuild
parentff746b390580c04fb9b8b63220e943fbed05155f (diff)
libraries/html5lib: Add python3 support
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'libraries/html5lib/html5lib.SlackBuild')
-rw-r--r--libraries/html5lib/html5lib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/html5lib/html5lib.SlackBuild b/libraries/html5lib/html5lib.SlackBuild
index 8195587882ff..60fb4d9abafd 100644
--- a/libraries/html5lib/html5lib.SlackBuild
+++ b/libraries/html5lib/html5lib.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=html5lib
VERSION=${VERSION:-1.0.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,6 +56,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
+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