summaryrefslogtreecommitdiff
path: root/system/glances/glances.SlackBuild
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2015-12-21 00:08:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-21 00:08:13 +0700
commit758c85df5f16189fdc4d013180c61aa3e440aefe (patch)
tree5cb03540af5e88e661a91dc56d73654bc0130f3f /system/glances/glances.SlackBuild
parent4e5acca02d1f783f411a1a7cd6e6c8dcfa258ad0 (diff)
downloadslackbuilds-758c85df5f16189fdc4d013180c61aa3e440aefe.tar.gz
system/glances: Removes python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/glances/glances.SlackBuild')
-rw-r--r--system/glances/glances.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/glances/glances.SlackBuild b/system/glances/glances.SlackBuild
index 97aacc145b..f1acfd3ccc 100644
--- a/system/glances/glances.SlackBuild
+++ b/system/glances/glances.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=glances
VERSION=${VERSION:-2.5.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,11 +65,6 @@ find -L . \
python setup.py install --root=$PKG
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
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