summaryrefslogtreecommitdiff
path: root/python/gunicorn/gunicorn.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-03-13 20:42:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:33 +0700
commita29134952d64f540d7a372c335c741d5accef33c (patch)
tree84af3bdfb1c857e5686fc0e6fb97a9c063a23be0 /python/gunicorn/gunicorn.SlackBuild
parentbe8f5f20b31c5acabc1ffc058d7e0faaf7d762e5 (diff)
downloadslackbuilds-a29134952d64f540d7a372c335c741d5accef33c.tar.gz
python/gunicorn: Updated for version 19.9.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/gunicorn/gunicorn.SlackBuild')
-rw-r--r--python/gunicorn/gunicorn.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/python/gunicorn/gunicorn.SlackBuild b/python/gunicorn/gunicorn.SlackBuild
index 4be0679634..f84d970bb7 100644
--- a/python/gunicorn/gunicorn.SlackBuild
+++ b/python/gunicorn/gunicorn.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gunicorn
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-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=gunicorn
-VERSION=${VERSION:-19.8.0}
+VERSION=${VERSION:-19.9.0}
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