pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-websockets py-websockets: updated to 7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc87c6373c4d
branches:  trunk
changeset: 387012:bc87c6373c4d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Nov 06 14:31:48 2018 +0000

description:
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:

 www/py-websockets/Makefile |   4 +-
 www/py-websockets/PLIST    |  48 +++------------------------------------------
 www/py-websockets/distinfo |  10 ++++----
 3 files changed, 11 insertions(+), 51 deletions(-)

diffs (117 lines):

diff -r 64b53044f3da -r bc87c6373c4d www/py-websockets/Makefile
--- a/www/py-websockets/Makefile        Tue Nov 06 14:21:51 2018 +0000
+++ b/www/py-websockets/Makefile        Tue Nov 06 14:31:48 2018 +0000
@@ -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 -r 64b53044f3da -r bc87c6373c4d www/py-websockets/PLIST
--- a/www/py-websockets/PLIST   Tue Nov 06 14:21:51 2018 +0000
+++ b/www/py-websockets/PLIST   Tue Nov 06 14:31:48 2018 +0000
@@ -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}/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/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/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 @@
 ${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.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 -r 64b53044f3da -r bc87c6373c4d www/py-websockets/distinfo
--- a/www/py-websockets/distinfo        Tue Nov 06 14:21:51 2018 +0000
+++ b/www/py-websockets/distinfo        Tue Nov 06 14:31:48 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index