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

Felix Yan felixonmars at archlinux.org
Thu Aug 23 07:38:13 UTC 2018


    Date: Thursday, August 23, 2018 @ 07:38:13
  Author: felixonmars
Revision: 373340

upgpkg: python-persistent 4.4.0-1

Modified:
  python-persistent/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-23 07:37:20 UTC (rev 373339)
+++ PKGBUILD	2018-08-23 07:38:13 UTC (rev 373340)
@@ -3,7 +3,7 @@
 
 pkgbase=python-persistent
 pkgname=('python-persistent' 'python2-persistent')
-pkgver=4.3.0
+pkgver=4.4.0
 pkgrel=1
 pkgdesc="Translucent persistent objects"
 arch=('x86_64')
@@ -10,10 +10,10 @@
 license=('ZPL')
 url="http://www.zope.org/Products/ZODB"
 makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
-             'python2-zope-interface')
-checkdepends=('python-nose' 'python2-nose')
+             'python2-zope-interface' 'python-cffi' 'python2-cffi')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 'python-manuel' 'python2-manuel')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/persistent/archive/$pkgver.tar.gz")
-sha512sums=('9a8fbe116a736e589c5e331120664e8bb56f29ad6f54641644adaeb8fb487f6794d58229b34bb0ab47d592dce27342625197cbe0f0e7af117dc0afdd3136616c')
+sha512sums=('c1884a30ea19e694364c6aa50e0d75250c5fcd3e3b5e2ce472e281e0412760a785b66d839e9fa7a778acb6b5f314a26ae681f4330721d558f61507d3548ca28b')
 
 prepare() {
   cp -a persistent-$pkgver{,-py2}
@@ -29,10 +29,10 @@
 
 check() {
   cd "$srcdir"/persistent-$pkgver
-  nosetests3
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" python -m zope.testrunner --test-path=.
 
   cd "$srcdir"/persistent-$pkgver-py2
-  nosetests2
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 -m zope.testrunner --test-path=.
 }
 
 package_python-persistent() {



More information about the arch-commits mailing list