diff options
Diffstat (limited to 'community/py3-wsgiproxy2/APKBUILD')
-rw-r--r-- | community/py3-wsgiproxy2/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-wsgiproxy2/APKBUILD b/community/py3-wsgiproxy2/APKBUILD new file mode 100644 index 00000000000..d4eec7f582f --- /dev/null +++ b/community/py3-wsgiproxy2/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Duncan Bellamy <dunk@denkimushi.com> +# Maintainer: Duncan Bellamy <dunk@denkimushi.com> +pkgname=py3-wsgiproxy2 +pkgver=0.5.1 +pkgrel=4 +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" +subpackages="$pkgname-pyc" +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 --skip-build --root="$pkgdir" +} + +sha512sums=" +6be9d4893515cc70ee1c5d7b7a29895a8c8b5afd316e2ad05f92fc1fa93e26da22b93440994ec9782f0663ff7073e476f75351fb7955bde93a2b6fbf9f4bf78a py3-wsgiproxy2-0.5.1.tar.gz +" |