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

Eric Bélanger eric at archlinux.org
Thu Jan 10 02:02:46 UTC 2013


    Date: Wednesday, January 9, 2013 @ 21:02:45
  Author: eric
Revision: 174992

upgpkg: zope-interface 4.0.3-1

Upstream update, Add check function

Modified:
  zope-interface/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-10 01:36:13 UTC (rev 174991)
+++ PKGBUILD	2013-01-10 02:02:45 UTC (rev 174992)
@@ -4,14 +4,14 @@
 
 pkgbase=zope-interface
 pkgname=('python-zope-interface' 'python2-zope-interface')
-pkgver=4.0.1
+pkgver=4.0.3
 pkgrel=1
 license=('ZPL')
 arch=('any')
 url="http://pypi.python.org/pypi/zope.interface"
 makedepends=('python-distribute' 'python2-distribute')
 source=(http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz)
-md5sums=('d171f8f8a6997409c7680f1dbb3b7e45')
+md5sums=('1ddd308f2c83703accd1696158c300eb')
 
 build() {
   cd "${srcdir}"
@@ -26,6 +26,14 @@
   python2 setup.py build
 }
 
+check() {
+  cd "${srcdir}/zope.interface-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/zope.interface-${pkgver}-python2"
+  python2 setup.py test
+}
+
 package_python-zope-interface() {
   pkgdesc=('Zope Interfaces for Python3')
   depends=('python')




More information about the arch-commits mailing list