# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-pyee pkgver=11.0.0 pkgrel=0 pkgdesc="A port of node.js's EventEmitter to Python" url="https://github.com/jfhbrook/pyee" arch="noarch" license="MIT" depends=" py3-async_generator py3-trio py3-twisted py3-vcversioner " makedepends=" py3-gpep517 py3-setuptools py3-wheel " checkdepends=" py3-mock py3-pytest-asyncio py3-pytest-trio pytest " subpackages="$pkgname-pyc" source="https://pypi.python.org/packages/source/p/pyee/pyee-$pkgver.tar.gz" builddir="$srcdir/pyee-$pkgver" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages .testenv .testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 835a0b3c954e18ae0bf60f17b161f06ce2b50e3b47f23fdf9755db5c84958c145094206e7f1ab4680f9dec9b0e540c014a3deaead730ce9256b7b245ef34a8b6 pyee-11.0.0.tar.gz "