Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2019 00:29:04 +0000 (UTC)
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r492890 - in head/net: . py-wsproto
Message-ID:  <201902140029.x1E0T4Kj051974@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bofh
Date: Thu Feb 14 00:29:04 2019
New Revision: 492890
URL: https://svnweb.freebsd.org/changeset/ports/492890

Log:
  [NEW] net/py-wsproto: Sans-IO WebSocket protocol implementation
  
  A pure-Python implementation of a WebSocket protocol stack. It's written from
  the ground up to be embeddable in whatever program you choose to use, ensuring
  that you can communicate via WebSockets, as defined in RFC6455, regardless of
  your programming paradigm.
  
  This does not provide a parsing layer, a network layer, or any rules about
  concurrency. Instead, it's a purely in-memory solution, defined in terms of data
  actions and WebSocket frames. RFC6455 and Compression Extensions for WebSocket
  via RFC7692 are fully supported.
  
  WWW: https://pypi.org/project/wsproto/
  WWW: https://github.com/python-hyper/wsproto/

Added:
  head/net/py-wsproto/
  head/net/py-wsproto/Makefile   (contents, props changed)
  head/net/py-wsproto/distinfo   (contents, props changed)
  head/net/py-wsproto/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Feb 14 00:15:34 2019	(r492889)
+++ head/net/Makefile	Thu Feb 14 00:29:04 2019	(r492890)
@@ -1142,6 +1142,7 @@
     SUBDIR += py-urllib3
     SUBDIR += py-wmi-query
     SUBDIR += py-wolframalpha
+    SUBDIR += py-wsproto
     SUBDIR += py-xmlrpc
     SUBDIR += py-zeroconf
     SUBDIR += py-zope.proxy

Added: head/net/py-wsproto/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-wsproto/Makefile	Thu Feb 14 00:29:04 2019	(r492890)
@@ -0,0 +1,23 @@
+# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	wsproto
+PORTVERSION=	0.13.0
+CATEGORIES=	net python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Sans-IO WebSocket protocol implementation
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PY_ENUM34} \
+		${PYTHON_PKGNAMEPREFIX}h11>=0.8.1:net/py-h11@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/net/py-wsproto/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-wsproto/distinfo	Thu Feb 14 00:29:04 2019	(r492890)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550098897
+SHA256 (wsproto-0.13.0.tar.gz) = fd6020d825022247053400306448e161d8740bdd52e328e5553cd9eee089f705
+SIZE (wsproto-0.13.0.tar.gz) = 50758

Added: head/net/py-wsproto/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-wsproto/pkg-descr	Thu Feb 14 00:29:04 2019	(r492890)
@@ -0,0 +1,12 @@
+A pure-Python implementation of a WebSocket protocol stack. It's written from
+the ground up to be embeddable in whatever program you choose to use, ensuring
+that you can communicate via WebSockets, as defined in RFC6455, regardless of
+your programming paradigm.
+
+This does not provide a parsing layer, a network layer, or any rules about
+concurrency. Instead, it's a purely in-memory solution, defined in terms of data
+actions and WebSocket frames. RFC6455 and Compression Extensions for WebSocket
+via RFC7692 are fully supported.
+
+WWW: https://pypi.org/project/wsproto/
+WWW: https://github.com/python-hyper/wsproto/



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