[arch-commits] Commit in python-flexmock/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Dec 10 03:11:25 UTC 2015
Date: Thursday, December 10, 2015 @ 04:11:25
Author: fyan
Revision: 151303
upgpkg: python-flexmock 0.10.0-1
Modified:
python-flexmock/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-10 02:54:38 UTC (rev 151302)
+++ PKGBUILD 2015-12-10 03:11:25 UTC (rev 151303)
@@ -3,7 +3,7 @@
pkgbase=python-flexmock
pkgname=('python-flexmock' 'python2-flexmock')
-pkgver=0.9.7
+pkgver=0.10.0
pkgrel=1
pkgdesc="Mock/Stub/Spy library for Python"
arch=('any')
@@ -10,12 +10,15 @@
license=('BSD')
url="http://has207.github.com/flexmock"
makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/has207/flexmock.git#tag=$pkgver")
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("git+https://github.com/bkabrda/flexmock.git#tag=$pkgver")
sha512sums=('SKIP')
prepare() {
cp -a flexmock{,-py2}
+
+ # To workaround build issues
+ export LC_CTYPE=en_US.UTF-8
}
build() {
@@ -28,10 +31,10 @@
check() {
cd "$srcdir/flexmock"
- nosetests3
+ python setup.py ptr
cd "$srcdir/flexmock-py2"
- nosetests2
+ python2 setup.py ptr
}
package_python-flexmock() {
More information about the arch-commits
mailing list