aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2022-08-05 07:16:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-06 20:16:05 +0700
commitfff0dc84723a62e07bcdcf5968f891c27882ba63 (patch)
tree10d28aaafe57888995cd6feb26a2e670755deee8 /python
parentbf2d6609ff5e8dc721dece09b80b8c064fdd1ac1 (diff)
python/ps_mem: Updated for version 3.14.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/ps_mem/ps_mem.SlackBuild14
-rw-r--r--python/ps_mem/ps_mem.info6
2 files changed, 9 insertions, 11 deletions
diff --git a/python/ps_mem/ps_mem.SlackBuild b/python/ps_mem/ps_mem.SlackBuild
index c939b3ec48745..fea92978b6011 100644
--- a/python/ps_mem/ps_mem.SlackBuild
+++ b/python/ps_mem/ps_mem.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ps_mem.
#
-# Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ps_mem
-VERSION=${VERSION:-3.13}
+VERSION=${VERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,16 +64,14 @@ else
LIBDIRSUFFIX=""
fi
-SRCVER=${SRCVER:-9f54e1aa3a87ec176ce8b71f02673e0d8293b344}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG --optimize=1
+python3 setup.py install --root=$PKG --optimize=1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/python/ps_mem/ps_mem.info b/python/ps_mem/ps_mem.info
index a4aa3ed796a69..6f221df89a0a2 100644
--- a/python/ps_mem/ps_mem.info
+++ b/python/ps_mem/ps_mem.info
@@ -1,8 +1,8 @@
PRGNAM="ps_mem"
-VERSION="3.13"
+VERSION="3.14"
HOMEPAGE="https://github.com/pixelb/ps_mem/"
-DOWNLOAD="https://github.com/pixelb/ps_mem/archive/9f54e1aa3a87ec176ce8b71f02673e0d8293b344/ps_mem-9f54e1aa3a87ec176ce8b71f02673e0d8293b344.tar.gz"
-MD5SUM="84acf409c82311db169d6c3f58856e51"
+DOWNLOAD="https://github.com/pixelb/ps_mem/archive/v3.14/ps_mem-3.14.tar.gz"
+MD5SUM="932651726d5c93786e32506236303b30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""