aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/waitress/waitress.SlackBuild9
-rw-r--r--python/waitress/waitress.info6
2 files changed, 10 insertions, 5 deletions
diff --git a/python/waitress/waitress.SlackBuild b/python/waitress/waitress.SlackBuild
index 443e6012a3f4f..412e78de01bf9 100644
--- a/python/waitress/waitress.SlackBuild
+++ b/python/waitress/waitress.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for waitress
-# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=waitress
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,11 @@ find -L . \
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
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/waitress/waitress.info b/python/waitress/waitress.info
index f339a85aec1e0..2464788fae4cd 100644
--- a/python/waitress/waitress.info
+++ b/python/waitress/waitress.info
@@ -1,8 +1,8 @@
PRGNAM="waitress"
-VERSION="1.1.0"
+VERSION="1.3.1"
HOMEPAGE="https://github.com/Pylons/waitress"
-DOWNLOAD="https://pypi.python.org/packages/3c/68/1c10dd5c556872ceebe88483b0436140048d39de83a84a06a8baa8136f4f/waitress-1.1.0.tar.gz"
-MD5SUM="0f1eb7fdfdbf2e6d18decbda1733045c"
+DOWNLOAD="https://files.pythonhosted.org/packages/a6/e6/708da7bba65898e5d759ade8391b1077e49d07be0b0223c39f5be04def56/waitress-1.3.1.tar.gz"
+MD5SUM="d9132d313de0c5e0fec34ef9ede5442e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""