# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-comm pkgver=0.1.2 pkgrel=0 pkgdesc="Python comm implementation for the Jupyter kernel protocol" url="https://github.com/ipython/comm" arch="noarch" license="BSD-3-Clause" depends="py3-traitlets" makedepends="py3-gpep517 py3-hatchling" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/ipython/comm/archive/refs/tags/$pkgver.tar.gz" builddir="$srcdir/comm-$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages test-env test-env/bin/python3 -m installer \ dist/*.whl test-env/bin/python3 -m pytest } package() { python3 -m installer --destdir="$pkgdir" dist/*.whl } sha512sums=" 9cec9909676edc0c8abf41e6d90f83a6ebfa88266023b3b5fd9c1ffe3fe16ba324b68ab92e788bfa01d5304d5de6e6dc96c7238973f3b39f8c77fa5165df8379 py3-comm-0.1.2.tar.gz "