[arch-commits] Commit in python-psutil/trunk (PKGBUILD)

Sébastien Luttringer seblu at nymeria.archlinux.org
Mon May 5 22:05:29 UTC 2014


    Date: Tuesday, May 6, 2014 @ 00:05:29
  Author: seblu
Revision: 110727

upgpkg: python-psutil 2.1.1-1

Modified:
  python-psutil/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-05-05 21:30:18 UTC (rev 110726)
+++ PKGBUILD	2014-05-05 22:05:29 UTC (rev 110727)
@@ -3,7 +3,7 @@
 
 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 @@
 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,20 +25,20 @@
     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'
   depends=('glibc' 'python')




More information about the arch-commits mailing list