diff options
Diffstat (limited to 'python/python3-pexpect/python3-pexpect.SlackBuild')
| -rw-r--r-- | python/python3-pexpect/python3-pexpect.SlackBuild | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/python/python3-pexpect/python3-pexpect.SlackBuild b/python/python3-pexpect/python3-pexpect.SlackBuild index 0380af2edd..ff8f8b1fbc 100644 --- a/python/python3-pexpect/python3-pexpect.SlackBuild +++ b/python/python3-pexpect/python3-pexpect.SlackBuild @@ -5,6 +5,7 @@ # Copyright (c) 2007 Javier Rojas <jerojasro@gmail.com> # Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # Copyright 2017-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pexpect -VERSION=${VERSION:-4.8.0} +VERSION=${VERSION:-4.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then esac fi -# 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 @@ -54,20 +52,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |
