# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-nest_asyncio pkgver=1.5.6 pkgrel=1 pkgdesc="Asyncio patch to allow nested event loops" url="https://github.com/erdewit/nest_asyncio" arch="noarch" license="BSD-2-Clause" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/erdewit/nest_asyncio/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/nest_asyncio-$pkgver" build() { python3 setup.py build } check() { pytest } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 3dbfe5362a31dcd3e579e30164a51d9cd8dcb5507667fa454a6375bbd0a1cca209df01cf99424e8e424685d617c0524888784f3672c8e9454de4cea07daeca03 py3-nest_asyncio-1.5.6.tar.gz "