diff options
Diffstat (limited to 'python/python3-prompt_toolkit')
-rw-r--r-- | python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild | 8 | ||||
-rw-r--r-- | python/python3-prompt_toolkit/python3-prompt_toolkit.info | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild index 8fcf7624c4..e3798609e0 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-prompt_toolkit -VERSION=${VERSION:-3.0.50} +VERSION=${VERSION:-3.0.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,7 +86,11 @@ 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 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl 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/python3-prompt_toolkit/python3-prompt_toolkit.info b/python/python3-prompt_toolkit/python3-prompt_toolkit.info index 07c99795e9..9b2801f5cc 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.info +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.info @@ -1,10 +1,10 @@ PRGNAM="python3-prompt_toolkit" -VERSION="3.0.50" +VERSION="3.0.51" HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.50.tar.gz" -MD5SUM="c272c222da72fd7a854589a8059081af" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.51.tar.gz" +MD5SUM="2466627570566ad36cdb451ede5c6d62" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wcwidth" +REQUIRES="python3-wcwidth python3-setuptools-opt" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" |