pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-websockets



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov  6 14:31:48 UTC 2018

Modified Files:
        pkgsrc/www/py-websockets: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-websockets/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-websockets/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-websockets/Makefile
diff -u pkgsrc/www/py-websockets/Makefile:1.7 pkgsrc/www/py-websockets/Makefile:1.8
--- pkgsrc/www/py-websockets/Makefile:1.7       Fri Sep  7 11:26:42 2018
+++ pkgsrc/www/py-websockets/Makefile   Tue Nov  6 14:31:48 2018
@@ -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/}

Index: pkgsrc/www/py-websockets/PLIST
diff -u pkgsrc/www/py-websockets/PLIST:1.6 pkgsrc/www/py-websockets/PLIST:1.7
--- pkgsrc/www/py-websockets/PLIST:1.6  Fri Sep  7 11:26:42 2018
+++ pkgsrc/www/py-websockets/PLIST      Tue Nov  6 14:31:48 2018
@@ -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.
 ${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/py3
 ${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

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.5 pkgsrc/www/py-websockets/distinfo:1.6
--- pkgsrc/www/py-websockets/distinfo:1.5       Fri Sep  7 11:26:42 2018
+++ pkgsrc/www/py-websockets/distinfo   Tue Nov  6 14:31:48 2018
@@ -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