# Contributor: Haelwenn (lanodan) Monnier # Maintainer: Haelwenn (lanodan) Monnier pkgname=py3-pygelbooru _pkgreal=pygelbooru pkgver=0.5.0 pkgrel=2 pkgdesc="unofficial and lightweight asynchronous library for Gelbooru compatible API" url="https://github.com/MakotoAme/pygelbooru" arch="noarch" license="GPL-3" depends="python3 py3-aiohttp py3-furl py3-xmltodict" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install \ --prefix=/usr \ --root="$pkgdir" \ --single-version-externally-managed } sha512sums=" 4301aa8c07bac9d70adbe13a8283869c48944cbaadeb5f28b6649d0d349861a09f21b057d26815e1a826f085ac8d54d135be466d543856ed00fc47d38734e204 pygelbooru-0.5.0.tar.gz "