From feb8abe207299f56287632bf3be540b8d1b9ac82 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 26 Oct 2019 18:03:26 +0200 Subject: development/bpython: Switch to python3. Signed-off-by: Dimitris Zlatanidis --- development/bpython/bpython.SlackBuild | 4 ++-- development/bpython/bpython.info | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'development/bpython') diff --git a/development/bpython/bpython.SlackBuild b/development/bpython/bpython.SlackBuild index d0f98e73b4..0be41bd9d2 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 4dc4208795..dbf8ce4916 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" -- cgit v1.2.3