diff options
Diffstat (limited to 'testing/py3-httpbin/APKBUILD')
-rw-r--r-- | testing/py3-httpbin/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-httpbin/APKBUILD b/testing/py3-httpbin/APKBUILD new file mode 100644 index 0000000000..88342d7e54 --- /dev/null +++ b/testing/py3-httpbin/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Luca Weiss <luca@z3ntu.xyz> +pkgname=py3-httpbin +_pyname=httpbin +pkgver=0.7.0 +pkgrel=0 +pkgdesc="HTTP Request and Response Service" +url=https://github.com/postmanlabs/httpbin +arch="noarch" +license="ISC" +depends="py3-flask py3-six py3-raven py3-blinker py3-brotli py3-decorator" +makedepends="py3-setuptools" +_pypiprefix="${_pyname%${_pyname#?}}" +source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz + 0001-Use-Brotli-instead-of-brotlipy.patch" +builddir="$srcdir/$_pyname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="82e80058b58943637e9f8191764cea79bf7a6e40f36069f9b5d3f908585dbef20a03ef070d1f865d350920b6e874a93a48a544b05c14ff4911038ec2c20f6f63 httpbin-0.7.0.tar.gz +b39fdb02b642afab12aca14fe45e34af32cafb04c612e0be9b72ea5f4451c7d1ed412199dcbefcfc08cdf6699f61f177a49e9352965cadf2f65771922d73e61a 0001-Use-Brotli-instead-of-brotlipy.patch" |