aboutsummaryrefslogtreecommitdiff
path: root/python/ptpython
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-12-09 09:51:19 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-10 07:43:10 +0700
commit5e612171b90989498087c30d9723b1ad080acbe7 (patch)
treebbd836c0199b65d6d0a3ac9629b6c19d5956f303 /python/ptpython
parentebf0c73ce03f6115037b6d549dd10058f7878014 (diff)
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')
-rw-r--r--python/ptpython/ptpython.SlackBuild6
-rw-r--r--python/ptpython/ptpython.info8
2 files changed, 7 insertions, 7 deletions
diff --git a/python/ptpython/ptpython.SlackBuild b/python/ptpython/ptpython.SlackBuild
index 788de78fd244b..44e84c40d17ce 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
diff --git a/python/ptpython/ptpython.info b/python/ptpython/ptpython.info
index e2eeca7a25f2e..532c764d2efcd 100644
--- a/python/ptpython/ptpython.info
+++ b/python/ptpython/ptpython.info
@@ -1,10 +1,10 @@
PRGNAM="ptpython"
-VERSION="2.0.6"
+VERSION="3.0.21"
HOMEPAGE="https://github.com/jonathanslenders/ptpython"
-DOWNLOAD="https://files.pythonhosted.org/packages/04/50/50e391a81eed1075c890402e44133bbcab1ebae3799e669a20d273fe311f/ptpython-2.0.6.tar.gz"
-MD5SUM="5ecd527939258cf48ccf129e91112310"
+DOWNLOAD="https://files.pythonhosted.org/packages/a7/83/bf0a0bc0d0028ec41917c59f81661b66d86e0d0fb329a1aea0acd849e568/ptpython-3.0.22.tar.gz"
+MD5SUM="ec967839acad393e998652f21d1f2443"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="prompt_toolkit jedi docopt"
+REQUIRES="python3-prompt_toolkit python3-jedi"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"