diff options
Diffstat (limited to 'python/psutil/psutil.SlackBuild')
-rw-r--r-- | python/psutil/psutil.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/psutil/psutil.SlackBuild b/python/psutil/psutil.SlackBuild index 913d418baafc6..7503837b6ee29 100644 --- a/python/psutil/psutil.SlackBuild +++ b/python/psutil/psutil.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=psutil -VERSION=${VERSION:-3.2.2} +VERSION=${VERSION:-3.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,7 +57,8 @@ find -L . \ python setup.py install --root=$PKG -if $(python3 -c 'import os' 2>/dev/null); then +# Install python3 bindings for psutil. Default is no. +if [ "${PYTHON3:-no}" == "yes" ]; then python3 setup.py install --root=$PKG fi |