From a29134952d64f540d7a372c335c741d5accef33c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 13 Mar 2019 20:42:19 +0100 Subject: python/gunicorn: Updated for version 19.9.0. Signed-off-by: Dimitris Zlatanidis --- python/gunicorn/gunicorn.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'python/gunicorn/gunicorn.SlackBuild') 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 -- cgit v1.2.3-80-g2a13