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>
This commit is contained in:
Edinaldo P. Silva 2022-08-05 07:16:37 +01:00 committed by Willy Sudiarto Raharjo
parent bf2d6609ff
commit fff0dc8472
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 11 deletions

View file

@ -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

View file

@ -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=""