[arch-commits] Commit in python-webtest/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Nov 4 02:51:24 UTC 2015
Date: Wednesday, November 4, 2015 @ 03:51:24
Author: fyan
Revision: 145887
upgpkg: python-webtest 2.0.20-1
Modified:
python-webtest/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-04 02:49:37 UTC (rev 145886)
+++ PKGBUILD 2015-11-04 02:51:24 UTC (rev 145887)
@@ -4,7 +4,7 @@
_pkgname=WebTest
pkgname=(python-webtest python2-webtest)
-pkgver=2.0.19
+pkgver=2.0.20
pkgrel=1
pkgdesc="Helper to test WSGI applications"
arch=('any')
@@ -11,11 +11,12 @@
url='http://webtest.pythonpaste.org/'
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools' 'python-webob' 'python2-webob' 'python-six' 'python2-six'
- 'python-beautifulsoup4' 'python2-beautifulsoup4')
+ 'python-beautifulsoup4' 'python2-beautifulsoup4' 'python-waitress' 'python2-waitress')
checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-coverage' 'python2-coverage'
- 'python-pyquery' 'python2-pyquery')
+ 'python-pyquery' 'python2-pyquery' 'python-pastedeploy' 'python2-pastedeploy'
+ 'python-wsgiproxy2' 'python2-wsgiproxy2')
source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
-sha256sums=('c80f60180d39cd1caf4d78673e83218681f1bdc96c3daa214e38bd49c38b019a')
+sha256sums=('bb137b96ce300eb4e43377804ed45be87674af7d414c4de46bba4d251bc4602f')
prepare() {
cp -a "$srcdir/$_pkgname-${pkgver}"{,-py2}
@@ -31,14 +32,14 @@
check() {
cd "$srcdir/$_pkgname-${pkgver}"
- PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-3.5:$PYTHONPATH" nosetests3 || warning "Tests failed" # Missing waitress and PasteDeploy
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" nosetests3
cd "$srcdir/$_pkgname-${pkgver}-py2"
- PYTHONPATH="$(pwd)/build/lib.linux-$CARCH-2.7:$PYTHONPATH" nosetests2 || warning "Tests failed" # Missing waitress and PasteDeploy
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" nosetests2
}
package_python-webtest() {
- depends=('python-webob' 'python-six' 'python-beautifulsoup4')
+ depends=('python-webob' 'python-six' 'python-beautifulsoup4' 'python-waitress')
optdepends=('python-pyquery: for response.pyquery'
'python-lxml: for response.lxml')
@@ -48,7 +49,7 @@
}
package_python2-webtest() {
- depends=('python2-webob' 'python2-six' 'python2-beautifulsoup4')
+ depends=('python2-webob' 'python2-six' 'python2-beautifulsoup4' 'python2-waitress')
optdepends=('python2-pyquery: for response.pyquery'
'python2-lxml: for response.lxml')
More information about the arch-commits
mailing list