# Contributor: Leo # Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-websockets _pkgname=websockets pkgver=10.4 pkgrel=2 pkgdesc="An implementation of the WebSocket Protocol (RFC 6455)" options="net" url="https://websockets.readthedocs.io/" arch="all" license="BSD-3-Clause" makedepends="python3-dev py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/aaugustin/websockets/archive/$pkgver.tar.gz skip-reconnect-test.patch " builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=30 python3 setup.py test } package() { python3 setup.py install --root="$pkgdir" } sha512sums=" 087b1920ff26e21b8d3b80b53249d44b841fc45a4992df1ad725112404f724a41aaa2d759a2bd521dfe337459f8bf0d2ae048c423489f527c68f6825f928b582 py3-websockets-10.4.tar.gz 0849fa337f6a00297774cc3a3dd61497bbc99dc3b12632a385056a82e50fd04bf057068eeef6f9b705c257e3017b127ee38183461615d09549145889767bdc0b skip-reconnect-test.patch "