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

Felix Yan felixonmars at archlinux.org
Tue Jul 11 05:29:53 UTC 2017


    Date: Tuesday, July 11, 2017 @ 05:29:47
  Author: felixonmars
Revision: 243883

upgpkg: python-zope-schema 4.5.0-1

Modified:
  python-zope-schema/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-11 05:29:39 UTC (rev 243882)
+++ PKGBUILD	2017-07-11 05:29:47 UTC (rev 243883)
@@ -11,7 +11,8 @@
 license=('ZPL')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
              'python2-zope-interface' 'python-zope-event' 'python2-zope-event')
-checkdepends=('python-nose' 'python2-nose' 'python-zope-testing' 'python2-zope-testing')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-zope-testing'
+              'python2-zope-testing')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.schema/archive/$pkgver.tar.gz")
 sha512sums=('0e5163a0d13492839e5594ea219b781375760d8eba4e6869eab28a94ba562659b299ce1311e959de05797942cece298d57f9ff646e6859640c1bcf4a07b299f8')
 
@@ -29,10 +30,10 @@
 
 check() {
   cd "$srcdir"/zope.schema-$pkgver
-  python setup.py test
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || warning "Tests failed"
 
   cd "$srcdir"/zope.schema-$pkgver-py2
-  python2 setup.py test
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner --test-path=src
 }
 
 package_python-zope-schema() {



More information about the arch-commits mailing list