# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-debugtoolbar
_pkgname=aiohttp-debugtoolbar
pkgver=0.4.1
pkgrel=0
pkgdesc="A ibrary for debugtoolbar support for aiohttp"
url="https://github.com/aio-libs/aiohttp-debugtoolbar"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp py3-aiohttp-jinja2"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6434e409d370bbb0031a14de8685739581745d243ec3777e5a8d40e7fc5ffc8fa59dd2a89cd9ecf4afe56198f4ebb38ba4ee3f35e39146f874eb09205d92a064  aiohttp-debugtoolbar-0.4.1.tar.gz"
