aboutsummaryrefslogtreecommitdiff
path: root/libraries/pymdstat/pymdstat.SlackBuild
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2015-12-21 00:10:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-21 00:10:08 +0700
commitff51527e48a7684550936a7d1d93b6c637a334de (patch)
tree48af794a55ba652b532088d32c0606946ad40bd2 /libraries/pymdstat/pymdstat.SlackBuild
parent6f8845c2a5b1304373d2b9049707bbbcf60fbfd4 (diff)
libraries/pymdstat: Removes python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pymdstat/pymdstat.SlackBuild')
-rw-r--r--libraries/pymdstat/pymdstat.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/libraries/pymdstat/pymdstat.SlackBuild b/libraries/pymdstat/pymdstat.SlackBuild
index 7f1b8562db0f7..d5e57ede264db 100644
--- a/libraries/pymdstat/pymdstat.SlackBuild
+++ b/libraries/pymdstat/pymdstat.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=pymdstat
VERSION=${VERSION:-0.4.2}
-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