aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-10-26 18:03:26 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-10-27 00:36:10 +0700
commitfeb8abe207299f56287632bf3be540b8d1b9ac82 (patch)
tree68c3ad97e96d10d5fbbbb7e56a41d16ed32743e3 /development
parentc6a4d6239e19170b92c4bce5a7504267cafb38f2 (diff)
development/bpython: Switch to python3.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'development')
-rw-r--r--development/bpython/bpython.SlackBuild4
-rw-r--r--development/bpython/bpython.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild
index d0f98e73b4157..0be41bd9d2aba 100644
--- a/development/bpython/bpython.SlackBuild
+++ b/development/bpython/bpython.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=bpython
VERSION=${VERSION:-0.18}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,7 +60,7 @@ find -L . \
mv data/org.bpython-interpreter.bpython.desktop data/bpython.desktop
sed -i 's/org.bpython-interpreter.bpython.desktop/bpython.desktop/' setup.py
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/bpython/bpython.info b/development/bpython/bpython.info
index 4dc4208795618..dbf8ce491663f 100644
--- a/development/bpython/bpython.info
+++ b/development/bpython/bpython.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/cc/af/4ebe98f22713b4d66d57b85d
MD5SUM="a150a9ff3383013da1156dda4b44280d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-requests Pygments six curtsies greenlet"
+REQUIRES="python3 python-requests Pygments curtsies greenlet"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"