aboutsummaryrefslogtreecommitdiff
path: root/system
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
parent4e5acca02d1f783f411a1a7cd6e6c8dcfa258ad0 (diff)
system/glances: Removes python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/glances/README4
-rw-r--r--system/glances/glances.SlackBuild7
2 files changed, 2 insertions, 9 deletions
diff --git a/system/glances/README b/system/glances/README
index fc33028887d6..d91793e83c0e 100644
--- a/system/glances/README
+++ b/system/glances/README
@@ -23,7 +23,5 @@ export module), pika (RabbitMQ/ActiveMQ export module), py-cpuinfo (Quicklook
CPU info module), pystache (action script feature), zeroconf (auto discoverer
mode).
-NOTES
-
-1) When launching glances in a terminal with a bright background, the option
+NOTE: When launching glances in a terminal with a bright background, the option
'--theme-white' is recommended.
diff --git a/system/glances/glances.SlackBuild b/system/glances/glances.SlackBuild
index 97aacc145b2b..f1acfd3cccd7 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