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

Felix Yan fyan at archlinux.org
Wed May 4 04:37:52 UTC 2016


    Date: Wednesday, May 4, 2016 @ 06:37:51
  Author: fyan
Revision: 173649

upgpkg: python-zope-testrunner 4.5.0-2

Modified:
  python-zope-testrunner/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-04 03:50:08 UTC (rev 173648)
+++ PKGBUILD	2016-05-04 04:37:51 UTC (rev 173649)
@@ -3,7 +3,7 @@
 
 pkgname=('python-zope-testrunner' 'python2-zope-testrunner')
 pkgver=4.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Zope testrunner script"
 arch=('any')
 url="https://github.com/zopefoundation/zope.testrunner"
@@ -12,7 +12,7 @@
              'python2-zope-interface' 'python-zope-exceptions' 'python2-zope-exceptions'
              'python-six' 'python2-six' 'git')
 checkdepends=('python-nose' 'python2-nose' 'python-zope-testing' 'python2-zope-testing'
-              'python2-subunit' 'python2-virtualenv')
+              'python2-subunit')
 source=("git+https://github.com/zopefoundation/zope.testrunner.git#tag=$pkgver")
 sha256sums=('SKIP')
 
@@ -29,24 +29,11 @@
 }
 
 check() {
-  # Hack to process .pth files properly
-  # TODO: --system-site-packages breaks the tests
-
   cd "$srcdir"/zope.testrunner
-  pyvenv "$srcdir"/pyvenv
-  (
-    . "$srcdir/pyvenv/bin/activate"
-    python setup.py install
-    python setup.py test
-  )
+  python setup.py test
 
   cd "$srcdir"/zope.testrunner-py2
-  virtualenv2 "$srcdir"/pyvenv-py2
-  (
-    . "$srcdir/pyvenv-py2/bin/activate"
-    python2 setup.py install
-    python2 setup.py test
-  )
+  python2 setup.py test
 }
 
 package_python-zope-testrunner() {



More information about the arch-commits mailing list