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

Eli Schwartz eschwartz at archlinux.org
Wed Jul 25 20:56:22 UTC 2018


    Date: Wednesday, July 25, 2018 @ 20:56:21
  Author: eschwartz
Revision: 363414

upgpkg: python-envisage 4.6.0-2

python 3.7 rebuild

Modified:
  python-envisage/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-25 20:04:53 UTC (rev 363413)
+++ PKGBUILD	2018-07-25 20:56:21 UTC (rev 363414)
@@ -4,15 +4,15 @@
 pkgbase=python-envisage
 pkgname=('python2-envisage' 'python-envisage')
 pkgver=4.6.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Extensible Application Framework"
 arch=('any')
 url="https://github.com/enthought/envisage"
 license=('BSD')
 makedepends=('python-setuptools' 'python-apptools' 'python2-setuptools' 'python2-apptools')
-
+checkdepends=('python-nose' 'python-configobj' 'python2-nose' 'python2-configobj')
 source=("envisage-$pkgver.tar.gz::https://github.com/enthought/envisage/archive/${pkgver}.tar.gz")
-md5sums=('86a7ff9e78960f3e294ace185cb3980e')
+md5sums=('186b566271b4b7125761fd6734a7e370')
 
 prepare() {
   cd "$srcdir"
@@ -31,6 +31,14 @@
   python setup.py build
 }
 
+check() {
+  cd "$srcdir"/envisage-py2-$pkgver
+  nosetests2 envisage
+
+  cd "$srcdir"/envisage-$pkgver
+  nosetests envisage || warning "tests failed"
+}
+
 package_python2-envisage() {
   depends=('python2-apptools')
   optdepends=('ipython2: for IPython shell plugin')



More information about the arch-commits mailing list