blob: 6d9d7b1b7aaaa22e7fb04a630f0a3ff3ed457a73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-webtest
_pkgname=WebTest
pkgver=2.0.9
pkgrel=0
pkgdesc="A Helper to test WSGI applications"
url="http://webtest.pythonpaste.org/"
arch="noarch"
license="MIT"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools py-waitress py-six py-beautifulsoup4
py-webob"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="bf0a04fcf8b2cdcaa13b04324cefb53d WebTest-2.0.9.zip"
sha256sums="749f527b39893b1757abd0e6814bde811eb25a6cf42538585c971afdb9030dad WebTest-2.0.9.zip"
sha512sums="004848c0474a06f81849b1983d9c50ba9e142b7bfb1ce64924074b197f26cb15ac272fe5917a9c7c04b38ff2b39d191cc8d310dd2f321be878deeff710294d7a WebTest-2.0.9.zip"
|