# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=py3-sphinxcontrib-asyncio _pkgname=${pkgname#py3-} _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=0.2.0 pkgrel=0 pkgdesc="Sphinx extension for using asyncio coroutines in markup" url="https://pypi.org/project/sphinxcontrib-asyncio/" arch="noarch" options="!check" # Tests not included in tarball. license="Apache-2.0" depends="python3" checkdepends="py3-pytest" makedepends="python3-dev" subpackages="" source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { mkdir -p "$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="2ca25717c03385ae9bf879b8efeab8d508292d07f96d941032720d755d3db2e7bbc3c9a33c6103af9d83849ed8878bea1048d349bd0873288ee2addfee9756b7 sphinxcontrib-asyncio-0.2.0.tar.gz"