aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-wsgiproxy2/APKBUILD
blob: ffea84e4b57c4e097875542fa0e4ed7f1d1e7fa4 (plain) (blame)
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
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-wsgiproxy2
pkgver=0.5.1
pkgrel=0
pkgdesc="WSGI Proxy with various http client backends"
url="https://github.com/gawel/WSGIProxy2/"
arch="noarch"
license="MIT"
depends="python3 py3-webob"
makedepends="py3-setuptools"
checkdepends="py3-beautifulsoup4 py3-pytest py3-requests py3-waitress py3-webtest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-$pkgver.tar.gz"
builddir="$srcdir/WSGIProxy2-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
6be9d4893515cc70ee1c5d7b7a29895a8c8b5afd316e2ad05f92fc1fa93e26da22b93440994ec9782f0663ff7073e476f75351fb7955bde93a2b6fbf9f4bf78a  py3-wsgiproxy2-0.5.1.tar.gz
"