diff options
Diffstat (limited to 'python/python3-prompt_toolkit')
-rw-r--r-- | python/python3-prompt_toolkit/README | 4 | ||||
-rw-r--r-- | python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild | 24 | ||||
-rw-r--r-- | python/python3-prompt_toolkit/python3-prompt_toolkit.info | 12 |
3 files changed, 27 insertions, 13 deletions
diff --git a/python/python3-prompt_toolkit/README b/python/python3-prompt_toolkit/README index 48752860c1..0ccfa899e0 100644 --- a/python/python3-prompt_toolkit/README +++ b/python/python3-prompt_toolkit/README @@ -1,2 +1,2 @@ -prompt_toolkit is a library for building powerful interactive command lines in -Python. +prompt_toolkit is a library for building powerful interactive command +lines in Python. diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild index fbc897e659..824948cfb0 100644 --- a/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild +++ b/python/python3-prompt_toolkit/python3-prompt_toolkit.SlackBuild @@ -1,9 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for python3-prompt_toolkit +# Copyright 2021 Yth | Pont-en-Royans, France | yth@ythogtha.org +# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece -# Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +24,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=python3-prompt_toolkit -VERSION=${VERSION:-3.0.8} +VERSION=${VERSION:-3.0.43} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} SRCNAM=prompt_toolkit @@ -38,7 +42,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -52,6 +63,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -87,4 +101,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/python/python3-prompt_toolkit/python3-prompt_toolkit.info b/python/python3-prompt_toolkit/python3-prompt_toolkit.info index a4807c7986..e2e19f7ddf 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.8" +VERSION="3.0.43" HOMEPAGE="https://github.com/jonathanslenders/python-prompt-toolkit" -DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.8.tar.gz" -MD5SUM="cf3ca19873fa9e7f6162296cf6bae419" +DOWNLOAD="https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.43.tar.gz" +MD5SUM="f33c0f4ae8d11addababf6d90c98f8bc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-wcwidth python3-six" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" +REQUIRES="python3-wcwidth" +MAINTAINER="Yth - Arnaud" +EMAIL="yth@ythogtha.org" |