aboutsummaryrefslogtreecommitdiff
path: root/python/python2-psutil/python2-psutil.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-05-14 03:48:30 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:21 +0700
commitc71346acc3ad110ec770dd1192a87961a0dccb23 (patch)
tree85fed393bc912095925d92fa690491108e5a3fb6 /python/python2-psutil/python2-psutil.SlackBuild
parent5a84a1d059a0035d387b5e445aee82e46a5858db (diff)
python/python2-psutil: Updated for version 5.9.5.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python2-psutil/python2-psutil.SlackBuild')
-rw-r--r--python/python2-psutil/python2-psutil.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/python2-psutil/python2-psutil.SlackBuild b/python/python2-psutil/python2-psutil.SlackBuild
index 52ea3f32e3..912f33c80a 100644
--- a/python/python2-psutil/python2-psutil.SlackBuild
+++ b/python/python2-psutil/python2-psutil.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python2-psutil
-# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-23 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python2-psutil
-SRCNAM=$(echo $PRGNAM | sed "s/python2-//")
-VERSION=${VERSION:-5.9.4}
+SRCNAM=${PRGNAM#python2-*}
+VERSION=${VERSION:-5.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -73,9 +73,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python2 setup.py install --root=$PKG