# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-jupyter-events pkgver=0.7.0 pkgrel=0 pkgdesc="Configurable event system for Jupyter applications and extensions." url="https://github.com/jupyter/jupyter_events" arch="noarch" license="BSD-3-Clause" depends="py3-jsonschema py3-traitlets py3-json-logger py3-yaml" makedepends="py3-gpep517 py3-installer py3-hatchling" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/jupyter_events/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/jupyter_events-$pkgver" options="!check" # seems to need a venv but also fails in a venv build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl } sha512sums=" 5931963bfc12f27be5315437c07d13fbfbd1e4e34ef5955cd561fa6cb02e27783d575d22cb26073249d5ffd7863db8d6b1f202204ada49541bd4865a48649151 py3-jupyter-events-0.7.0.tar.gz "