# Contributor: Aiden Grossman # Maintainer: Aiden Grossman pkgname=py3-terminado pkgver=0.17.1 pkgrel=1 pkgdesc="Tornado websocket backend for xterm.js" url="https://github.com/jupyter/terminado" arch="noarch" license="BSD-2-Clause" depends="py3-ptyprocess py3-tornado" checkdepends="py3-pytest" makedepends="py3-gpep517 py3-hatchling" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/jupyter/terminado/archive/refs/tags/v$pkgver.tar.gz bash.patch " builddir="$srcdir/terminado-$pkgver/" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest \ --deselect terminado/tests/basic_test.py::UniqueTermTests::test_large_io_doesnt_hang } package() { python3 -m installer --destdir="$pkgdir" .dist/*.whl rm -r "$pkgdir"/usr/lib/python3*/site-packages/terminado/tests* } sha512sums=" bb560c548878e510051c2923f2c94bd79bced08ea2884a3ed518513f3da3732d8b6dde9151145b02eb9f9bee77ef4d7a1b40ccfbacf4cb89b521f9f1ee079a44 py3-terminado-0.17.1.tar.gz e3e3fc1bb85b113703fa3a8d1eddc9e0087f41f8beca82d2e2888a225ce9b29888de0310a0c22a24ace46209dd7ca82930dd04b0afd44adb72caa0525ea13e34 bash.patch "