aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-wsgiproxy2/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-wsgiproxy2/APKBUILD b/testing/py3-wsgiproxy2/APKBUILD
new file mode 100644
index 00000000000..ffea84e4b57
--- /dev/null
+++ b/testing/py3-wsgiproxy2/APKBUILD
@@ -0,0 +1,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
+"