Skip to content

Commit

Permalink
net/py-trio-websocket: Add py-trio-websocket 0.10.2
Browse files Browse the repository at this point in the history
Trio WebSocket implements both server and client aspects of the the WebSocket
protocol, striving for safety, correctness, and ergonomics. It is based on the
wsproto project, which is a Sans-IO state machine that implements the majority
of the WebSocket protocol, including framing, codecs, and events. This library
handles I/O using the Trio framework. This library passes the Autobahn Test
Suite.
  • Loading branch information
sunpoet committed May 27, 2023
1 parent 6f35a7b commit 84c4332
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions net/Makefile
Expand Up @@ -1154,6 +1154,7 @@
SUBDIR += py-tofu
SUBDIR += py-transip
SUBDIR += py-trio
SUBDIR += py-trio-websocket
SUBDIR += py-tweepy
SUBDIR += py-twitter-tools
SUBDIR += py-txamqp
Expand Down
23 changes: 23 additions & 0 deletions net/py-trio-websocket/Makefile
@@ -0,0 +1,23 @@
PORTNAME= trio-websocket
PORTVERSION= 0.10.2
CATEGORIES= net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT= WebSocket library for Trio
WWW= https://github.com/HyperionGray/trio-websocket

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}trio>=0.11:net/py-trio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wsproto>=0.14:net/py-wsproto@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions net/py-trio-websocket/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1684104292
SHA256 (trio-websocket-0.10.2.tar.gz) = af13e9393f9051111300287947ec595d601758ce3d165328e7d36325135a8d62
SIZE (trio-websocket-0.10.2.tar.gz) = 26079
6 changes: 6 additions & 0 deletions net/py-trio-websocket/pkg-descr
@@ -0,0 +1,6 @@
Trio WebSocket implements both server and client aspects of the the WebSocket
protocol, striving for safety, correctness, and ergonomics. It is based on the
wsproto project, which is a Sans-IO state machine that implements the majority
of the WebSocket protocol, including framing, codecs, and events. This library
handles I/O using the Trio framework. This library passes the Autobahn Test
Suite.

0 comments on commit 84c4332

Please sign in to comment.