summaryrefslogtreecommitdiff
path: root/python/psutil/psutil.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2015-12-22 17:35:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-22 17:35:21 +0700
commit8ba9b1878c2e76d3d2487a0a6835056419e9da88 (patch)
tree7d1b130f64c4231ee773a1747a6e8267ecde2e38 /python/psutil/psutil.SlackBuild
parenta7c953c7e9b057ab77482a9ecbf85e7ecf336fdc (diff)
downloadslackbuilds-8ba9b1878c2e76d3d2487a0a6835056419e9da88.tar.gz
python/psutil: Updated for version 3.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/psutil/psutil.SlackBuild')
-rw-r--r--python/psutil/psutil.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/psutil/psutil.SlackBuild b/python/psutil/psutil.SlackBuild
index 913d418baa..7503837b6e 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