summaryrefslogtreecommitdiffstats
path: root/python/ptpython/ptpython.SlackBuild
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2022-12-09 09:51:19 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-10 07:43:10 +0700
commit5e612171b90989498087c30d9723b1ad080acbe7 (patch)
treebbd836c0199b65d6d0a3ac9629b6c19d5956f303 /python/ptpython/ptpython.SlackBuild
parentebf0c73ce03f6115037b6d549dd10058f7878014 (diff)
downloadslackbuilds-5e612171b90989498087c30d9723b1ad080acbe7.tar.gz
slackbuilds-5e612171b90989498087c30d9723b1ad080acbe7.tar.xz
python/ptpython: Updated for version 3.0.22.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/ptpython/ptpython.SlackBuild')
-rw-r--r--python/ptpython/ptpython.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/ptpython/ptpython.SlackBuild b/python/ptpython/ptpython.SlackBuild
index 788de78fd2..44e84c40d1 100644
--- a/python/ptpython/ptpython.SlackBuild
+++ b/python/ptpython/ptpython.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ptpython
-# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ptpython
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-3.0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
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