aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/html5lib/html5lib.SlackBuild3
-rw-r--r--libraries/html5lib/html5lib.info2
2 files changed, 3 insertions, 2 deletions
diff --git a/libraries/html5lib/html5lib.SlackBuild b/libraries/html5lib/html5lib.SlackBuild
index 8195587882ff9..60fb4d9abafdb 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
diff --git a/libraries/html5lib/html5lib.info b/libraries/html5lib/html5lib.info
index 07cc7eabc852f..b9f29a8b44b50 100644
--- a/libraries/html5lib/html5lib.info
+++ b/libraries/html5lib/html5lib.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.io/packages/source/h/html5lib/html5lib-1.0.1.tar.gz"
MD5SUM="942a0688d6bdf20d087c9805c40182ad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="six python-webencodings"
+REQUIRES="six python3-six python-webencodings"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"