Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2023 04:25:25 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 84c433288141 - main - net/py-trio-websocket: Add py-trio-websocket 0.10.2
Message-ID:  <202305270425.34R4PPUs023589@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=84c433288141f1b708da9542ae7fd90e6272544b

commit 84c433288141f1b708da9542ae7fd90e6272544b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:06:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:06:42 +0000

    net/py-trio-websocket: Add py-trio-websocket 0.10.2
    
    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.
---
 net/Makefile                    |  1 +
 net/py-trio-websocket/Makefile  | 23 +++++++++++++++++++++++
 net/py-trio-websocket/distinfo  |  3 +++
 net/py-trio-websocket/pkg-descr |  6 ++++++
 4 files changed, 33 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index e2b24f199b7e..0d589edc29c8 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -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
diff --git a/net/py-trio-websocket/Makefile b/net/py-trio-websocket/Makefile
new file mode 100644
index 000000000000..dd66e862e96f
--- /dev/null
+++ b/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>
diff --git a/net/py-trio-websocket/distinfo b/net/py-trio-websocket/distinfo
new file mode 100644
index 000000000000..5763d90d81ae
--- /dev/null
+++ b/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
diff --git a/net/py-trio-websocket/pkg-descr b/net/py-trio-websocket/pkg-descr
new file mode 100644
index 000000000000..0d6224460bb0
--- /dev/null
+++ b/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305270425.34R4PPUs023589>