diff options
Diffstat (limited to 'python/python3-tornado/python3-tornado.SlackBuild')
-rw-r--r-- | python/python3-tornado/python3-tornado.SlackBuild | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/python/python3-tornado/python3-tornado.SlackBuild b/python/python3-tornado/python3-tornado.SlackBuild index 9c73c759b1..f5974e4f5c 100644 --- a/python/python3-tornado/python3-tornado.SlackBuild +++ b/python/python3-tornado/python3-tornado.SlackBuild @@ -3,6 +3,8 @@ # Slackware build script for python3-tornado # Copyright 2017-2020 Benjamin Trigona-Harany +# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2023 Jeremy Hansen <jebrhansen+SBo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,13 +27,12 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tornado -VERSION=${VERSION:-6.1.0} +SRCNAM=tornado +VERSION=${VERSION:-6.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCNAM=tornado - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -40,9 +41,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 @@ -52,20 +50,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 |