mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
799 B
Text
29 lines
799 B
Text
# Contributor: Aiden Grossman <agrossman154@yahoo.com>
|
|
# Maintainer: Aiden Grossman <agrossman154@yahoo.com>
|
|
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
|
|
"
|