aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-16 07:53:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-16 07:53:21 +0700
commit58c7c53f3262e946a15a72487a47c181e076ee51 (patch)
tree42205e8cddeaf6a563118611500c89e52c06154c
parenta5ce903640a66610f6de83df41324c91e6dba3cc (diff)
libraries/pexpect: Updated for version 4.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/pexpect/pexpect.SlackBuild6
-rw-r--r--libraries/pexpect/pexpect.info6
2 files changed, 8 insertions, 4 deletions
diff --git a/libraries/pexpect/pexpect.SlackBuild b/libraries/pexpect/pexpect.SlackBuild
index e60bff3237c4..7eccf94dab86 100644
--- a/libraries/pexpect/pexpect.SlackBuild
+++ b/libraries/pexpect/pexpect.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pexpect
-VERSION=${VERSION:-4.6.0}
+VERSION=${VERSION:-4.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
+# Python 3 support.
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/pexpect/pexpect.info b/libraries/pexpect/pexpect.info
index d5c3e3374aef..8bcb54c20bdf 100644
--- a/libraries/pexpect/pexpect.info
+++ b/libraries/pexpect/pexpect.info
@@ -1,8 +1,8 @@
PRGNAM="pexpect"
-VERSION="4.6.0"
+VERSION="4.8.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/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10/pexpect-4.8.0.tar.gz"
+MD5SUM="153eb25184249d6a85fde9acf4804085"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ptyprocess"