Tue Aug 22 08:47:50 2017 UTC ()
3.4:
Renamed :func:`~websockets.server.serve()` and :func:`~websockets.client.connect()`'s klass argument to create_protocol to reflect that it can also be a callable. For backwards compatibility, klass is still supported.
:func:`~websockets.server.serve` can be used as an asynchronous context manager on Python ≥ 3.5.
Added support for customizing handling of incoming connections with :meth:`~websockets.server.WebSocketServerProtocol.process_request()`.
Made read and write buffer sizes configurable.
Rewrote HTTP handling for simplicity and performance.
Added an optional C extension to speed up low level operations.
An invalid response status code during :func:`~websockets.client.connect` now raises :class:`~websockets.exceptions.InvalidStatusCode` with a code attribute.


(adam)
diff -r1.2 -r1.3 pkgsrc/www/py-websockets/Makefile
diff -r1.2 -r1.3 pkgsrc/www/py-websockets/PLIST
diff -r1.1 -r1.2 pkgsrc/www/py-websockets/distinfo
diff -r1.1 -r0 pkgsrc/www/py-websockets/patches/patch-setup.py

cvs diff -r1.2 -r1.3 pkgsrc/www/py-websockets/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/Makefile 2017/07/01 22:13:55 1.2
+++ pkgsrc/www/py-websockets/Makefile 2017/08/22 08:47:50 1.3
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.2 2017/07/01 22:13:55 joerg Exp $ 1# $NetBSD: Makefile,v 1.3 2017/08/22 08:47:50 adam Exp $
2 2
3DISTNAME= websockets-3.3 3DISTNAME= websockets-3.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/aaugustin/websockets 9HOMEPAGE= https://github.com/aaugustin/websockets
10COMMENT= Implementation of the WebSocket Protocol (RFC 6455) 10COMMENT= Implementation of the WebSocket Protocol (RFC 6455)
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PYTHON_VERSIONS_ACCEPTED= 36 35 34 13PYTHON_VERSIONS_ACCEPTED= 36 35 34
14 14
15.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
16 16

cvs diff -r1.2 -r1.3 pkgsrc/www/py-websockets/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/PLIST 2017/07/01 22:13:55 1.2
+++ pkgsrc/www/py-websockets/PLIST 2017/08/22 08:47:50 1.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.2 2017/07/01 22:13:55 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2017/08/22 08:47:50 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/websockets/__init__.py 7${PYSITELIB}/websockets/__init__.py
8${PYSITELIB}/websockets/__init__.pyc 8${PYSITELIB}/websockets/__init__.pyc
9${PYSITELIB}/websockets/__init__.pyo 9${PYSITELIB}/websockets/__init__.pyo
10${PYSITELIB}/websockets/client.py 10${PYSITELIB}/websockets/client.py
11${PYSITELIB}/websockets/client.pyc 11${PYSITELIB}/websockets/client.pyc
12${PYSITELIB}/websockets/client.pyo 12${PYSITELIB}/websockets/client.pyo
13${PYSITELIB}/websockets/compatibility.py 13${PYSITELIB}/websockets/compatibility.py
14${PYSITELIB}/websockets/compatibility.pyc 14${PYSITELIB}/websockets/compatibility.pyc
@@ -27,40 +27,53 @@ ${PYSITELIB}/websockets/http.pyc @@ -27,40 +27,53 @@ ${PYSITELIB}/websockets/http.pyc
27${PYSITELIB}/websockets/http.pyo 27${PYSITELIB}/websockets/http.pyo
28${PYSITELIB}/websockets/protocol.py 28${PYSITELIB}/websockets/protocol.py
29${PYSITELIB}/websockets/protocol.pyc 29${PYSITELIB}/websockets/protocol.pyc
30${PYSITELIB}/websockets/protocol.pyo 30${PYSITELIB}/websockets/protocol.pyo
31${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.py 31${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.py
32${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyc 32${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyc
33${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyo 33${PLIST.py35p}${PYSITELIB}/websockets/py35/__init__.pyo
34${PLIST.py35p}${PYSITELIB}/websockets/py35/client.py 34${PLIST.py35p}${PYSITELIB}/websockets/py35/client.py
35${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyc 35${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyc
36${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyo 36${PLIST.py35p}${PYSITELIB}/websockets/py35/client.pyo
37${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.py 37${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.py
38${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyc 38${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyc
39${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyo 39${PLIST.py35p}${PYSITELIB}/websockets/py35/client_server.pyo
 40${PLIST.py35p}${PYSITELIB}/websockets/py35/server.py
 41${PLIST.py35p}${PYSITELIB}/websockets/py35/server.pyc
 42${PLIST.py35p}${PYSITELIB}/websockets/py35/server.pyo
40${PYSITELIB}/websockets/server.py 43${PYSITELIB}/websockets/server.py
41${PYSITELIB}/websockets/server.pyc 44${PYSITELIB}/websockets/server.pyc
42${PYSITELIB}/websockets/server.pyo 45${PYSITELIB}/websockets/server.pyo
 46${PYSITELIB}/websockets/speedups.so
43${PYSITELIB}/websockets/test_client_server.py 47${PYSITELIB}/websockets/test_client_server.py
44${PYSITELIB}/websockets/test_client_server.pyc 48${PYSITELIB}/websockets/test_client_server.pyc
45${PYSITELIB}/websockets/test_client_server.pyo 49${PYSITELIB}/websockets/test_client_server.pyo
46${PYSITELIB}/websockets/test_framing.py 50${PYSITELIB}/websockets/test_framing.py
47${PYSITELIB}/websockets/test_framing.pyc 51${PYSITELIB}/websockets/test_framing.pyc
48${PYSITELIB}/websockets/test_framing.pyo 52${PYSITELIB}/websockets/test_framing.pyo
49${PYSITELIB}/websockets/test_handshake.py 53${PYSITELIB}/websockets/test_handshake.py
50${PYSITELIB}/websockets/test_handshake.pyc 54${PYSITELIB}/websockets/test_handshake.pyc
51${PYSITELIB}/websockets/test_handshake.pyo 55${PYSITELIB}/websockets/test_handshake.pyo
52${PYSITELIB}/websockets/test_http.py 56${PYSITELIB}/websockets/test_http.py
53${PYSITELIB}/websockets/test_http.pyc 57${PYSITELIB}/websockets/test_http.pyc
54${PYSITELIB}/websockets/test_http.pyo 58${PYSITELIB}/websockets/test_http.pyo
55${PYSITELIB}/websockets/test_protocol.py 59${PYSITELIB}/websockets/test_protocol.py
56${PYSITELIB}/websockets/test_protocol.pyc 60${PYSITELIB}/websockets/test_protocol.pyc
57${PYSITELIB}/websockets/test_protocol.pyo 61${PYSITELIB}/websockets/test_protocol.pyo
 62${PYSITELIB}/websockets/test_speedups.py
 63${PYSITELIB}/websockets/test_speedups.pyc
 64${PYSITELIB}/websockets/test_speedups.pyo
58${PYSITELIB}/websockets/test_uri.py 65${PYSITELIB}/websockets/test_uri.py
59${PYSITELIB}/websockets/test_uri.pyc 66${PYSITELIB}/websockets/test_uri.pyc
60${PYSITELIB}/websockets/test_uri.pyo 67${PYSITELIB}/websockets/test_uri.pyo
 68${PYSITELIB}/websockets/test_utils.py
 69${PYSITELIB}/websockets/test_utils.pyc
 70${PYSITELIB}/websockets/test_utils.pyo
61${PYSITELIB}/websockets/uri.py 71${PYSITELIB}/websockets/uri.py
62${PYSITELIB}/websockets/uri.pyc 72${PYSITELIB}/websockets/uri.pyc
63${PYSITELIB}/websockets/uri.pyo 73${PYSITELIB}/websockets/uri.pyo
 74${PYSITELIB}/websockets/utils.py
 75${PYSITELIB}/websockets/utils.pyc
 76${PYSITELIB}/websockets/utils.pyo
64${PYSITELIB}/websockets/version.py 77${PYSITELIB}/websockets/version.py
65${PYSITELIB}/websockets/version.pyc 78${PYSITELIB}/websockets/version.pyc
66${PYSITELIB}/websockets/version.pyo 79${PYSITELIB}/websockets/version.pyo

cvs diff -r1.1 -r1.2 pkgsrc/www/py-websockets/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-websockets/distinfo 2017/06/24 07:30:18 1.1
+++ pkgsrc/www/py-websockets/distinfo 2017/08/22 08:47:50 1.2
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.1 2017/06/24 07:30:18 adam Exp $ 1$NetBSD: distinfo,v 1.2 2017/08/22 08:47:50 adam Exp $
2 2
3SHA1 (websockets-3.3.tar.gz) = ab9a51b180e8ff557f49befb673bb5f21778b532 3SHA1 (websockets-3.4.tar.gz) = 98955cea7efc3444c6135128aeca0290fadd2ebb
4RMD160 (websockets-3.3.tar.gz) = c97794ae8eace7c19f3b3041337044e6ce1d153b 4RMD160 (websockets-3.4.tar.gz) = ef8aa6cbdfa6886e2c50196c0308fe9fb61eea0a
5SHA512 (websockets-3.3.tar.gz) = 6f73a854bd00e7066c7a167eb218edcbed3eadfbe1f08d6d164192b0b2cd10263666eb55884cd8e1ddba08edf3bf951fc5ddb99fd32aa23ce4e5e2ad69b3ce8a 5SHA512 (websockets-3.4.tar.gz) = 24aacdbd2c9c1bad877d4bf37e45d7a32534d9a33a2bfea27dd8ddb16734dbd685317250c6564b237b86d75bc692fb798c61a7bb9391e693fbe1c00335fd472d
6Size (websockets-3.3.tar.gz) = 33852 bytes 6Size (websockets-3.4.tar.gz) = 41618 bytes
7SHA1 (patch-setup.py) = 8cecab543470a7b9545d04de589dcd3b4deda7f9 

File Deleted: pkgsrc/www/py-websockets/patches/Attic/patch-setup.py