[arch-commits] Commit in python-mockito/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jan 25 09:10:09 UTC 2017
Date: Wednesday, January 25, 2017 @ 09:10:08
Author: felixonmars
Revision: 208998
upgpkg: python-mockito 1.0.2-1
Modified:
python-mockito/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-25 09:06:54 UTC (rev 208997)
+++ PKGBUILD 2017-01-25 09:10:08 UTC (rev 208998)
@@ -5,14 +5,15 @@
pkgbase=python-mockito
pkgname=('python-mockito' 'python2-mockito')
-pkgver=0.7.1
+pkgver=1.0.2
pkgrel=1
pkgdesc='Spying framework'
arch=('any')
url='https://github.com/kaste/mockito-python'
license=('MIT')
-makedepends=('python-nose' 'python2-nose' 'python-setuptools' 'python2-setuptools' 'git')
-source=("git+https://github.com/kaste/mockito-python.git#commit=$_commit")
+makedepends=('python-pytest' 'python2-pytest' 'python-setuptools' 'python2-setuptools'
+ 'python2-funcsigs' 'git')
+source=("git+https://github.com/kaste/mockito-python.git#tag=$pkgver")
md5sums=('SKIP')
prepare() {
@@ -29,10 +30,10 @@
check() {
cd "$srcdir"/mockito-python
- python setup.py test
+ py.test build/lib
cd "$srcdir"/mockito-python-py2
- python2 setup.py test
+ py.test2 build/lib
}
package_python-mockito() {
@@ -43,7 +44,7 @@
}
package_python2-mockito() {
- depends=('python2')
+ depends=('python2-funcsigs')
cd mockito-python-py2
python2 setup.py install --root="$pkgdir" -O1
More information about the arch-commits
mailing list