python/psutil: Updated for version 1.0.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-07-13 01:04:17 -05:00 committed by Robby Workman
parent ff39236caa
commit 97db499365
3 changed files with 12 additions and 6 deletions

View file

@ -3,3 +3,5 @@ running processes and system utilization (CPU, memory, disks, network, users) in
a portable way by using Python, implementing many functionalities offered by
command line tools such as: ps, top, df, kill, free, lsof, netstat, ifconfig,
nice, ionice, iostat, iotop, uptime, pidof, tty, who, taskset, and pmap.
Optional dependencies are pysetuptools and python3.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=psutil
VERSION=${VERSION:-0.7.1}
VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -57,12 +57,16 @@ find . \
python setup.py install --root=$PKG
if $(python3 -c 'import os' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CREDITS HISTORY LICENSE MANIFEST.in PKG-INFO README \
CREDITS HISTORY LICENSE MANIFEST.in PKG-INFO README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,10 +1,10 @@
PRGNAM="psutil"
VERSION="0.7.1"
VERSION="1.0.1"
HOMEPAGE="http://code.google.com/p/psutil/"
DOWNLOAD="http://psutil.googlecode.com/files/psutil-0.7.1.tar.gz"
MD5SUM="ad7bcd473cd2a64763ed8286e279d3d7"
DOWNLOAD="http://psutil.googlecode.com/files/psutil-1.0.1.tar.gz"
MD5SUM="c85e29db7d6d716761eb2b105b9fb177"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="distribute"
REQUIRES=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"