diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2013-07-13 01:04:17 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-07-14 17:07:20 -0500 |
commit | 97db499365ca64c35ecd2d015380f26bcbb3a734 (patch) | |
tree | 0a78f2a9cb49a91f90c18a2a2754c0c8faa7c958 | |
parent | ff39236caa576a7f59dfef2b61030f457b6caa0b (diff) | |
download | slackbuilds-97db499365ca64c35ecd2d015380f26bcbb3a734.tar.gz |
python/psutil: Updated for version 1.0.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | python/psutil/README | 2 | ||||
-rw-r--r-- | python/psutil/psutil.SlackBuild | 8 | ||||
-rw-r--r-- | python/psutil/psutil.info | 8 |
3 files changed, 12 insertions, 6 deletions
diff --git a/python/psutil/README b/python/psutil/README index b7548981e3..a8cbc03c9e 100644 --- a/python/psutil/README +++ b/python/psutil/README @@ -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. diff --git a/python/psutil/psutil.SlackBuild b/python/psutil/psutil.SlackBuild index 659e0ef08a..2c673d0220 100644 --- a/python/psutil/psutil.SlackBuild +++ b/python/psutil/psutil.SlackBuild @@ -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 diff --git a/python/psutil/psutil.info b/python/psutil/psutil.info index eda316d15d..787c94079a 100644 --- a/python/psutil/psutil.info +++ b/python/psutil/psutil.info @@ -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" |