diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2020-03-17 20:41:01 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-03-21 08:59:02 +0700 |
commit | edc1a226fcc5ac16be42c8613d9a20bb15e6d39f (patch) | |
tree | beff6093aaad68914414683f2a57e40b691faac3 /network/speedtest-cli/speedtest-cli.SlackBuild | |
parent | fe5d34b71c7e7a932a8c25e7799441ecb5161690 (diff) |
network/speedtest-cli: Switch to python3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/speedtest-cli/speedtest-cli.SlackBuild')
-rw-r--r-- | network/speedtest-cli/speedtest-cli.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/network/speedtest-cli/speedtest-cli.SlackBuild b/network/speedtest-cli/speedtest-cli.SlackBuild index 917dc63ca49b..9562919eb8bb 100644 --- a/network/speedtest-cli/speedtest-cli.SlackBuild +++ b/network/speedtest-cli/speedtest-cli.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for speedtest-cli -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=speedtest-cli VERSION=${VERSION:-2.1.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,7 @@ 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 +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 |