aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-httpbin/APKBUILD
blob: ae9ab8f5992603fa203e55aea02aac905b568686 (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
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-httpbin
_pyname=httpbin
pkgver=0.7.0
pkgrel=2
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"
options="!check" # tests broken

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"