summaryrefslogtreecommitdiffstats
path: root/python/python3-tornado
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-tornado')
-rw-r--r--python/python3-tornado/python3-tornado.SlackBuild36
-rw-r--r--python/python3-tornado/python3-tornado.info12
2 files changed, 21 insertions, 27 deletions
diff --git a/python/python3-tornado/python3-tornado.SlackBuild b/python/python3-tornado/python3-tornado.SlackBuild
index 22babf349b..f5974e4f5c 100644
--- a/python/python3-tornado/python3-tornado.SlackBuild
+++ b/python/python3-tornado/python3-tornado.SlackBuild
@@ -1,8 +1,10 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for python3-tornado
-# Copyright 2017-2019 Benjamin Trigona-Harany
+# 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
@@ -22,12 +24,14 @@
# 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-tornado
-VERSION=${VERSION:-6.0.3}
+SRCNAM=tornado
+VERSION=${VERSION:-6.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
-SRCNAM=tornado
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -37,25 +41,15 @@ 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}
-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
@@ -86,4 +80,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-tornado/python3-tornado.info b/python/python3-tornado/python3-tornado.info
index cf219ba49a..c1efe1a0aa 100644
--- a/python/python3-tornado/python3-tornado.info
+++ b/python/python3-tornado/python3-tornado.info
@@ -1,10 +1,10 @@
PRGNAM="python3-tornado"
-VERSION="6.0.3"
+VERSION="6.4.0"
HOMEPAGE="http://www.tornadoweb.org"
-DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.0.3/tornado-6.0.3.tar.gz"
-MD5SUM="28fe1d74c871f55accdd93cd6e184699"
+DOWNLOAD="https://github.com/tornadoweb/tornado/archive/v6.4.0/tornado-6.4.0.tar.gz"
+MD5SUM="55eb5707d6083392b2442f81203de419"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3"
-MAINTAINER="Benjamin Trigona-Harany"
-EMAIL="slackbuilds@jaxartes.net"
+REQUIRES=""
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"