diff options
Diffstat (limited to 'python/psutil')
-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 b7548981e3b0f..a8cbc03c9e6d0 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 659e0ef08a6d0..2c673d0220f8f 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 eda316d15d40f..787c94079a20c 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" |