# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-nest_asyncio pkgver=1.5.5 pkgrel=0 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 --prefix=/usr --root="$pkgdir" } sha512sums=" dbf045a59dc5b61eaae0191cf13d5e1c19962c40b6f78fe8ae65dd30bf040584b9151f9fee364ff9a677250cc4d83b11398ed029b5f42985d4994837c3e09388 py3-nest_asyncio-1.5.5.tar.gz "