From 0213b73bb2d41775c3d9281c7a2adcce0b470f28 Mon Sep 17 00:00:00 2001 From: Tom Strausbaugh Date: Sun, 28 Apr 2024 10:12:13 -0400 Subject: [PATCH 1/2] 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 | 21 +++++++++++++++++++++ 1 file changed, 21 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..465f9036afbed2 --- /dev/null +++ b/srcpkgs/python3-trio-websocket/template @@ -0,0 +1,21 @@ +# Template file for 'python3-trio-websocket' +pkgname=python3-trio-websocket +version=0.11.1 +revision=1 +build_style=python3-pep517 +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="This library implements both server and client aspects of the the WebSocket protocol, striving for safety, correctness, and ergonomics." +maintainer="Orphaned " +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 +} From f215dbe2eec59d18d7db2103fe4e33e93a8e672b Mon Sep 17 00:00:00 2001 From: Tom Strausbaugh Date: Sun, 28 Apr 2024 10:35:23 -0400 Subject: [PATCH 2/2] Fix short_desc and add maintainer --- srcpkgs/python3-trio-websocket/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-trio-websocket/template b/srcpkgs/python3-trio-websocket/template index 465f9036afbed2..d01b1e803f49f5 100644 --- a/srcpkgs/python3-trio-websocket/template +++ b/srcpkgs/python3-trio-websocket/template @@ -7,8 +7,8 @@ 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="This library implements both server and client aspects of the the WebSocket protocol, striving for safety, correctness, and ergonomics." -maintainer="Orphaned " +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"