From b41027f63e11b5d781d31a8c5fbc40447e2dc461 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 23 Apr 2021 13:25:37 +0700 Subject: system/linkchecker: Use Python2 explicitly. Signed-off-by: Willy Sudiarto Raharjo --- system/linkchecker/linkchecker.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/linkchecker') diff --git a/system/linkchecker/linkchecker.SlackBuild b/system/linkchecker/linkchecker.SlackBuild index 6e7375b2b9..6175a33861 100644 --- a/system/linkchecker/linkchecker.SlackBuild +++ b/system/linkchecker/linkchecker.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for linkchecker -# Copyright 2013-2017 Willy Sudiarto Raharjo +# Copyright 2013-2021 Willy Sudiarto Raharjo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=linkchecker SRCNAM=LinkChecker VERSION=${VERSION:-9.3} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -74,7 +74,7 @@ find -L . \ # https://github.com/wummel/linkchecker/commit/c2ce810c3fb00b895a841a7be6b2e78c64e7b042 patch -p1 < $CWD/fix-python-requests.patch -python setup.py install --root=$PKG +python2 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 -- cgit v1.2.3