From 74df3455309cb3558e519a21c3ced59aae28b211 Mon Sep 17 00:00:00 2001 From: Tom Strausbaugh Date: Sun, 28 Apr 2024 10:12:13 -0400 Subject: [PATCH] Add python3-trio-websocket package It is a requirement for updating the streamlink package which I plan to do once this has been accepted/merged. --- srcpkgs/python3-trio-websocket/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-trio-websocket/template diff --git a/srcpkgs/python3-trio-websocket/template b/srcpkgs/python3-trio-websocket/template new file mode 100644 index 00000000000000..cd62e5f2420384 --- /dev/null +++ b/srcpkgs/python3-trio-websocket/template @@ -0,0 +1,22 @@ +# Template file for 'python3-trio-websocket' +pkgname=python3-trio-websocket +version=0.11.1 +revision=1 +build_style=python3-pep517 +make_check_args="--ignore tests/test_connection.py" +hostmakedepends="python3-setuptools python3-wheel" +depends="python3-trio python3-wsproto" +checkdepends="$depends python3-pytest iana-etc pylint python3-astroid + python3-async_generator python3-jedi python3-openssl python3-trustme" +short_desc="Library implementing server and client WebSocket protocol" +maintainer="Tom Strausbaugh " +license="Apache-2.0, MIT" +homepage="https://github.com/python-trio/trio-websocket" +changelog="https://raw.githubusercontent.com/python-trio/trio-websocket/master/CHANGELOG.md" +distfiles="${PYPI_SITE}/t/trio-websocket/trio-websocket-${version}.tar.gz" +checksum=18c11793647703c158b1f6e62de638acada927344d534e3c7628eedcb746839f +make_check_pre="env PY_IGNORE_IMPORTMISMATCH=1" + +post_install() { + vlicense LICENSE +}