aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-httpbin/APKBUILD
blob: 88342d7e548f4b7616307066ea119421244d3bf9 (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
# 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"