summaryrefslogtreecommitdiff
path: root/community/python-psutil
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-psutil')
-rw-r--r--community/python-psutil/PKGBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/community/python-psutil/PKGBUILD b/community/python-psutil/PKGBUILD
index 43032b93f..e59b536d6 100644
--- a/community/python-psutil/PKGBUILD
+++ b/community/python-psutil/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 109232 2014-04-11 23:45:33Z seblu $
+# $Id: PKGBUILD 110728 2014-05-05 22:06:27Z seblu $
# Maintainer: Sébastien Luttringer
pkgbase=python-psutil
pkgname=('python-psutil' 'python2-psutil')
-pkgver=2.1.0
+pkgver=2.1.1
pkgrel=1
arch=('i686' 'x86_64')
url='http://code.google.com/p/psutil/'
@@ -11,7 +11,7 @@ license=('custom: BSD')
makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools')
checkdepends=('net-tools' 'procps-ng')
source=("https://pypi.python.org/packages/source/p/psutil/psutil-$pkgver.tar.gz")
-md5sums=('ba1f51f4c8e2c74cba48cef70b8a5bec')
+md5sums=('72a6b15d589fab11f6ca245b775bc3c6')
build() {
cd psutil-$pkgver
@@ -25,19 +25,19 @@ build() {
sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
}
-#check() {
-# cd psutil-$pkgver
-#
-# msg2 python
-# export PYTHONPATH="$PWD/build/python"
-# #python test/test_psutil.py
-# python test/test_memory_leaks.py
-#
-# msg2 python2
-# export PYTHONPATH="$PWD/build/python2"
-# #python2 test/test_psutil.py
-# python2 test/test_memory_leaks.py
-#}
+check() {
+ cd psutil-$pkgver
+
+ msg2 python
+ export PYTHONPATH="$PWD/build/python"
+ #python test/test_psutil.py
+ python test/test_memory_leaks.py
+
+ msg2 python2
+ export PYTHONPATH="$PWD/build/python2"
+ #python2 test/test_psutil.py
+ python2 test/test_memory_leaks.py
+}
package_python-psutil() {
pkgdesc='A cross-platform process and system utilities module for Python'