#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented is optional and can be deleted pkgname=psutil pkgver=1.2.1 pkgrel=1rl #arch=noarch source=(https://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("authors" "install" "readme" "copying") url=Homepage: http://code.google.com/p/psutil/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "psutil (python interface for process and system info)" "psutil is a module providing an interface for retrieving information" "on all 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," "psutil: uptime, pidof, tty, who, taskset, and pmap" ) build() { cd $startdir/src/$pkgname-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg # Python 3 support if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG-prefix=/usr --root=$startdir/pkg fi }