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

Jelle van der Waa jelle at archlinux.org
Sat Aug 1 13:55:53 UTC 2015


    Date: Saturday, August 1, 2015 @ 15:55:53
  Author: jelle
Revision: 137658

upgpkg: python-decorator 4.0.2-1

Modified:
  python-decorator/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-01 13:00:48 UTC (rev 137657)
+++ PKGBUILD	2015-08-01 13:55:53 UTC (rev 137658)
@@ -3,16 +3,16 @@
 # Contributor: Pierre Chapuis <catwell at archlinux dot us>
 
 pkgname=('python-decorator' 'python2-decorator')
-pkgver=3.4.2
+pkgver=4.0.2
 pkgrel=1
 pkgdesc='Python Decorator module'
 arch=('any')
 url='http://pypi.python.org/pypi/decorator'
 license=('BSD')
-makedepends=('python2' 'python' 'python-setuptools')
+makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
 source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz"
         'LICENSE.txt')
-md5sums=('9e0536870d2b83ae27d58dbf22582f4d'
+md5sums=('033c9563af492c4ce2680ee6ca481fa7'
          '0ca76d2c707f09dbb04acc425ea1a08b')
 
 build() {
@@ -47,3 +47,13 @@
   install -D -m644 "${srcdir}/LICENSE.txt" \
     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
+
+check() {
+  cd "$srcdir/decorator-$pkgver"
+
+  python3 setup.py test
+
+  cd "$srcdir/decorator2-$pkgver"
+
+  python2 setup.py test
+}



More information about the arch-commits mailing list