From ff746b390580c04fb9b8b63220e943fbed05155f Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 26 Jan 2020 11:47:36 -0800 Subject: python/psutil: Updated for version 5.6.7 Signed-off-by: Larry Hajali --- python/psutil/psutil.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 python/psutil/psutil.SlackBuild (limited to 'python/psutil/psutil.SlackBuild') diff --git a/python/psutil/psutil.SlackBuild b/python/psutil/psutil.SlackBuild old mode 100644 new mode 100755 index c37311562e2dc..7432bbecb2138 --- a/python/psutil/psutil.SlackBuild +++ b/python/psutil/psutil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for psutil -# Copyright 2012-2019 Larry Hajali +# Copyright 2012-2020 Larry Hajali # 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=psutil -VERSION=${VERSION:-5.6.3} +VERSION=${VERSION:-5.6.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,8 +57,8 @@ find -L . \ python setup.py install --root=$PKG -# Install python3 bindings for psutil. Default is no. -if [ "${PYTHON3:-no}" == "yes" ]; then +# Install python3 bindings for psutil. +if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG fi -- cgit v1.2.3