From 97db499365ca64c35ecd2d015380f26bcbb3a734 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sat, 13 Jul 2013 01:04:17 -0500 Subject: python/psutil: Updated for version 1.0.1. Signed-off-by: Robby Workman --- python/psutil/psutil.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'python/psutil/psutil.SlackBuild') 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 -- cgit v1.2.3