[arch-commits] Commit in python-expects/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon May 16 06:15:43 UTC 2016
Date: Monday, May 16, 2016 @ 08:15:43
Author: fyan
Revision: 175449
upgpkg: python-expects 0.8.0-1
Modified:
python-expects/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-16 06:06:45 UTC (rev 175448)
+++ PKGBUILD 2016-05-16 06:15:43 UTC (rev 175449)
@@ -3,7 +3,7 @@
pkgbase=python-expects
pkgname=('python-expects' 'python2-expects')
-pkgver=0.7.2
+pkgver=0.8.0
pkgrel=1
pkgdesc="Expressive and extensible TDD/BDD assertion library for Python"
arch=('any')
@@ -10,6 +10,7 @@
license=('Apache')
url="https://github.com/jaimegildesagredo/expects"
makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-mamba' 'python2-mamba')
source=("git+https://github.com/jaimegildesagredo/expects.git#tag=v$pkgver")
sha512sums=('SKIP')
@@ -18,13 +19,21 @@
}
build() {
- cd "$srcdir/expects"
+ cd "$srcdir"/expects
python setup.py build
- cd "$srcdir/expects-py2"
+ cd "$srcdir"/expects-py2
python2 setup.py build
}
+check() {
+ cd "$srcdir"/expects
+ mamba
+
+ cd "$srcdir"/expects-py2
+ mamba2
+}
+
package_python-expects() {
depends=('python')
More information about the arch-commits
mailing list