diff options
author | adam <adam@pkgsrc.org> | 2018-11-06 14:31:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-11-06 14:31:48 +0000 |
commit | 6d5604f6b194ed6d6250e05f1e012f604879ac2f (patch) | |
tree | a9b7a77fb0f469063aef39b7f9fe7ba60de0d134 /www | |
parent | 3f54a141b9791a47e7ccc2fd50f02e0769ca9ebe (diff) | |
download | pkgsrc-6d5604f6b194ed6d6250e05f1e012f604879ac2f.tar.gz |
py-websockets: updated to 7.0
7.0:
websockets sends Ping frames at regular intervals and closes the connection if it doesn't receive a matching Pong frame. See :class:~protocol.WebSocketCommonProtocol for details.
Added process_request and select_subprotocol arguments to :func:~server.serve() and :class:~server.WebSocketServerProtocol to customize :meth:~server.WebSocketServerProtocol.process_request and :meth:~server.WebSocketServerProtocol.select_subprotocol without subclassing :class:~server.WebSocketServerProtocol
Added support for sending fragmented messages.
Added the :meth:~protocol.WebSocketCommonProtocol.wait_closed method to protocols.
Added an interactive client: python -m websockets <uri>.
Changed the origins argument to represent the lack of an origin with None rather than ''.
Fixed a data loss bug in :meth:~protocol.WebSocketCommonProtocol.recv: canceling it at the wrong time could result in messages being dropped.
Improved handling of multiple HTTP headers with the same name.
Improved error messages when a required HTTP header is missing.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-websockets/Makefile | 4 | ||||
-rw-r--r-- | www/py-websockets/PLIST | 48 | ||||
-rw-r--r-- | www/py-websockets/distinfo | 10 |
3 files changed, 11 insertions, 51 deletions
diff --git a/www/py-websockets/Makefile b/www/py-websockets/Makefile index 72a21c96f11..aeca5c649d3 100644 --- a/www/py-websockets/Makefile +++ b/www/py-websockets/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2018/09/07 11:26:42 adam Exp $ +# $NetBSD: Makefile,v 1.8 2018/11/06 14:31:48 adam Exp $ -DISTNAME= websockets-6.0 +DISTNAME= websockets-7.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/} diff --git a/www/py-websockets/PLIST b/www/py-websockets/PLIST index 8ea6cb495ec..13785a07a87 100644 --- a/www/py-websockets/PLIST +++ b/www/py-websockets/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2018/09/07 11:26:42 adam Exp $ +@comment $NetBSD: PLIST,v 1.7 2018/11/06 14:31:48 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -7,6 +7,9 @@ ${PYSITELIB}/${EGG_INFODIR}/zip-safe ${PYSITELIB}/websockets/__init__.py ${PYSITELIB}/websockets/__init__.pyc ${PYSITELIB}/websockets/__init__.pyo +${PYSITELIB}/websockets/__main__.py +${PYSITELIB}/websockets/__main__.pyc +${PYSITELIB}/websockets/__main__.pyo ${PYSITELIB}/websockets/client.py ${PYSITELIB}/websockets/client.pyc ${PYSITELIB}/websockets/client.pyo @@ -25,12 +28,6 @@ ${PYSITELIB}/websockets/extensions/base.pyo ${PYSITELIB}/websockets/extensions/permessage_deflate.py ${PYSITELIB}/websockets/extensions/permessage_deflate.pyc ${PYSITELIB}/websockets/extensions/permessage_deflate.pyo -${PYSITELIB}/websockets/extensions/test_base.py -${PYSITELIB}/websockets/extensions/test_base.pyc -${PYSITELIB}/websockets/extensions/test_base.pyo -${PYSITELIB}/websockets/extensions/test_permessage_deflate.py -${PYSITELIB}/websockets/extensions/test_permessage_deflate.pyc -${PYSITELIB}/websockets/extensions/test_permessage_deflate.pyo ${PYSITELIB}/websockets/framing.py ${PYSITELIB}/websockets/framing.pyc ${PYSITELIB}/websockets/framing.pyo @@ -49,9 +46,6 @@ ${PYSITELIB}/websockets/protocol.pyo ${PYSITELIB}/websockets/py35/__init__.py ${PYSITELIB}/websockets/py35/__init__.pyc ${PYSITELIB}/websockets/py35/__init__.pyo -${PYSITELIB}/websockets/py35/_test_client_server.py -${PLIST.py35}${PYSITELIB}/websockets/py35/_test_client_server.pyc -${PLIST.py35}${PYSITELIB}/websockets/py35/_test_client_server.pyo ${PYSITELIB}/websockets/py35/client.py ${PLIST.py35}${PYSITELIB}/websockets/py35/client.pyc ${PLIST.py35}${PYSITELIB}/websockets/py35/client.pyo @@ -61,9 +55,6 @@ ${PLIST.py35}${PYSITELIB}/websockets/py35/server.pyo ${PYSITELIB}/websockets/py36/__init__.py ${PYSITELIB}/websockets/py36/__init__.pyc ${PYSITELIB}/websockets/py36/__init__.pyo -${PYSITELIB}/websockets/py36/_test_client_server.py -${PLIST.py35}${PYSITELIB}/websockets/py36/_test_client_server.pyc -${PLIST.py35}${PYSITELIB}/websockets/py36/_test_client_server.pyo ${PYSITELIB}/websockets/py36/protocol.py ${PLIST.py36}${PYSITELIB}/websockets/py36/protocol.pyc ${PLIST.py36}${PYSITELIB}/websockets/py36/protocol.pyo @@ -72,37 +63,6 @@ ${PYSITELIB}/websockets/server.pyc ${PYSITELIB}/websockets/server.pyo ${PYSITELIB}/websockets/speedups.c ${PYSITELIB}/websockets/speedups.so -${PYSITELIB}/websockets/test_client_server.py -${PYSITELIB}/websockets/test_client_server.pyc -${PYSITELIB}/websockets/test_client_server.pyo -${PYSITELIB}/websockets/test_exceptions.py -${PYSITELIB}/websockets/test_exceptions.pyc -${PYSITELIB}/websockets/test_exceptions.pyo -${PYSITELIB}/websockets/test_framing.py -${PYSITELIB}/websockets/test_framing.pyc -${PYSITELIB}/websockets/test_framing.pyo -${PYSITELIB}/websockets/test_handshake.py -${PYSITELIB}/websockets/test_handshake.pyc -${PYSITELIB}/websockets/test_handshake.pyo -${PYSITELIB}/websockets/test_headers.py -${PYSITELIB}/websockets/test_headers.pyc -${PYSITELIB}/websockets/test_headers.pyo -${PYSITELIB}/websockets/test_http.py -${PYSITELIB}/websockets/test_http.pyc -${PYSITELIB}/websockets/test_http.pyo -${PYSITELIB}/websockets/test_localhost.pem -${PYSITELIB}/websockets/test_protocol.py -${PYSITELIB}/websockets/test_protocol.pyc -${PYSITELIB}/websockets/test_protocol.pyo -${PYSITELIB}/websockets/test_speedups.py -${PYSITELIB}/websockets/test_speedups.pyc -${PYSITELIB}/websockets/test_speedups.pyo -${PYSITELIB}/websockets/test_uri.py -${PYSITELIB}/websockets/test_uri.pyc -${PYSITELIB}/websockets/test_uri.pyo -${PYSITELIB}/websockets/test_utils.py -${PYSITELIB}/websockets/test_utils.pyc -${PYSITELIB}/websockets/test_utils.pyo ${PYSITELIB}/websockets/uri.py ${PYSITELIB}/websockets/uri.pyc ${PYSITELIB}/websockets/uri.pyo diff --git a/www/py-websockets/distinfo b/www/py-websockets/distinfo index 82faa61b020..56f4c0bb36f 100644 --- a/www/py-websockets/distinfo +++ b/www/py-websockets/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2018/09/07 11:26:42 adam Exp $ +$NetBSD: distinfo,v 1.6 2018/11/06 14:31:48 adam Exp $ -SHA1 (websockets-6.0.tar.gz) = 2194c94e31766fd838a22fedeef8448d20272bc5 -RMD160 (websockets-6.0.tar.gz) = 5f01a242c0610a48d28afaa5f4773bdf07afd7a8 -SHA512 (websockets-6.0.tar.gz) = ef89ceb4844488b3322c98c762353067cef5df4ee71ec27ae59fe550302b6d4b789af4c5099b0945afb1eeadff5cc0ddb8df8e3309256dc59584640074340579 -Size (websockets-6.0.tar.gz) = 70483 bytes +SHA1 (websockets-7.0.tar.gz) = b27a72fcfbfc3cb37794d579f7242b8f178d8003 +RMD160 (websockets-7.0.tar.gz) = a1b1cc9b3d79a4319060502bd747f3007150bd96 +SHA512 (websockets-7.0.tar.gz) = 3f3493c920ca3e07c143fdc443a2b1da142dda52ca6291566a3042daee6f5f702a9b091411a915da3896fe0f48cf174d9ef6fd40cf09483bc90928ee67ebd438 +Size (websockets-7.0.tar.gz) = 49257 bytes |