mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
29 lines
800 B
Text
29 lines
800 B
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
pkgname=py3-nest_asyncio
|
|
pkgver=1.5.4
|
|
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="
|
|
96050b450ce2dc1d9cb9f966fe1e971ce48652524f4d2d75bf2cb37755feb29d28b9661bd82fd1016781d6c79c027de04c516f5faccebf1040e398ea9998c87e py3-nest_asyncio-1.5.4.tar.gz
|
|
"
|