1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jerome Leclanche <jerome@leclan.ch>
7 pkgdesc="Helper to test WSGI applications"
9 url='http://webtest.pythonpaste.org/'
11 depends=('python-webob' 'python-beautifulsoup4' 'python-waitress')
12 optdepends=('python-pyquery: for response.pyquery'
13 'python-lxml: for response.lxml')
14 makedepends=('python-setuptools')
15 checkdepends=('python-pytest' 'python-pyquery' 'python-pastedeploy' 'python-wsgiproxy2')
16 source=("https://pypi.io/packages/source/W/WebTest/WebTest-$pkgver.tar.gz")
17 sha512sums=('b97a6311d7e3bf653bec93c2390fb75c991d0dea6148680d8b6ff87861c130518a5d150dd157eab9b032b278566ad12c0ac8f5fc2ddbeba31e35de1e1f06f747')
31 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
32 install -Dm644 license.rst "$pkgdir"/usr/share/licenses/$pkgname/license.rst