aboutsummaryrefslogtreecommitdiff
path: root/python/python3-psutil
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-psutil')
-rw-r--r--python/python3-psutil/python3-psutil.SlackBuild12
-rw-r--r--python/python3-psutil/python3-psutil.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/python/python3-psutil/python3-psutil.SlackBuild b/python/python3-psutil/python3-psutil.SlackBuild
index ed58d86980..6b4ec3a6a1 100644
--- a/python/python3-psutil/python3-psutil.SlackBuild
+++ b/python/python3-psutil/python3-psutil.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-psutil
-# Copyright 2022-2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
+# Copyright 2022-2025 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-psutil
SRCNAM=${PRGNAM#python3-*}
-VERSION=${VERSION:-6.1.0}
+VERSION=${VERSION:-7.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,11 +57,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+find . ! -type l -a \
+ \( -perm /111 -a ! -perm 755 -a -exec chmod -f 755 {} + \) -o \
+ \( ! -perm /111 -a ! -perm 644 -a -exec chmod -f 644 {} + \)
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl
diff --git a/python/python3-psutil/python3-psutil.info b/python/python3-psutil/python3-psutil.info
index a1ccd04727..f3f41cac86 100644
--- a/python/python3-psutil/python3-psutil.info
+++ b/python/python3-psutil/python3-psutil.info
@@ -1,8 +1,8 @@
PRGNAM="python3-psutil"
-VERSION="6.1.0"
+VERSION="7.1.3"
HOMEPAGE="https://github.com/giampaolo/psutil"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-6.1.0.tar.gz"
-MD5SUM="2baae02411c42c185e129c3f26030079"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/psutil/psutil-7.1.3.tar.gz"
+MD5SUM="99dbbe92985d5e5a3a45574ea521af67"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-build python3-wheel"