summaryrefslogtreecommitdiff
path: root/libraries/batinfo
diff options
context:
space:
mode:
authorPhilip Lacroix <slackph at posteo dot de>2015-12-21 00:08:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-21 00:08:48 +0700
commitf8ec7ff8d7dc01ba6cde5a7a976d1138ee8732e0 (patch)
tree8c6e0fcd71c77c5a1d8027d6cf1494cfada0d26a /libraries/batinfo
parent758c85df5f16189fdc4d013180c61aa3e440aefe (diff)
downloadslackbuilds-f8ec7ff8d7dc01ba6cde5a7a976d1138ee8732e0.tar.gz
libraries/batinfo: Removes python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/batinfo')
-rw-r--r--libraries/batinfo/batinfo.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/libraries/batinfo/batinfo.SlackBuild b/libraries/batinfo/batinfo.SlackBuild
index 80ad04a30c..b0a137c5f9 100644
--- a/libraries/batinfo/batinfo.SlackBuild
+++ b/libraries/batinfo/batinfo.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=batinfo
VERSION=${VERSION:-0.3}
-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