diff options
Diffstat (limited to 'libraries/pexpect')
-rw-r--r-- | libraries/pexpect/README | 8 | ||||
-rw-r--r-- | libraries/pexpect/pexpect.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/pexpect/pexpect.info | 6 |
3 files changed, 19 insertions, 12 deletions
diff --git a/libraries/pexpect/README b/libraries/pexpect/README index 1d15e556c1..09bbb8b290 100644 --- a/libraries/pexpect/README +++ b/libraries/pexpect/README @@ -1,4 +1,4 @@ -Pexpect is a Python module for spawning child applications; controlling them; -and responding to expected patterns in their output. Pexpect can be used for -automating interactive applications such as ssh, ftp, passwd, telnet, etc. -Pexpect is pure Python. +Pexpect is a Python module for spawning child applications; +controlling them; and responding to expected patterns in their +output. Pexpect can be used for automating interactive applications +such as ssh, ftp, passwd, telnet, etc. Pexpect is pure Python. diff --git a/libraries/pexpect/pexpect.SlackBuild b/libraries/pexpect/pexpect.SlackBuild index e60bff3237..e554ea0abb 100644 --- a/libraries/pexpect/pexpect.SlackBuild +++ b/libraries/pexpect/pexpect.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for Pexpect # Copyright (c) 2007 Javier Rojas <jerojasro@gmail.com> -# Copyright 2014-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,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=pexpect -VERSION=${VERSION:-4.6.0} +VERSION=${VERSION:-4.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -36,7 +39,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +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} @@ -80,4 +87,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/libraries/pexpect/pexpect.info b/libraries/pexpect/pexpect.info index d5c3e3374a..f8380f7ae0 100644 --- a/libraries/pexpect/pexpect.info +++ b/libraries/pexpect/pexpect.info @@ -1,8 +1,8 @@ PRGNAM="pexpect" -VERSION="4.6.0" +VERSION="4.9.0" HOMEPAGE="https://github.com/pexpect/pexpect" -DOWNLOAD="https://files.pythonhosted.org/packages/89/43/07d07654ee3e25235d8cea4164cdee0ec39d1fda8e9203156ebe403ffda4/pexpect-4.6.0.tar.gz" -MD5SUM="d4f3372965a996238d57d19b95d2e03a" +DOWNLOAD="https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz" +MD5SUM="f48d48325ee7f1221add0396ea9e2f14" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ptyprocess" |