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 6.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b66ad272b06
branches: trunk
changeset: 312593:0b66ad272b06
user: adam <adam%pkgsrc.org@localhost>
date: Fri Sep 07 11:26:42 2018 +0000
description:
py-websockets: updated to 6.0
6.0:
Warning
Version 6.0 introduces the :class:~http.Headers class for managing HTTP headers and changes several public APIs:
:meth:~server.WebSocketServerProtocol.process_request now receives a :class:~http.Headers instead of a :class:~http.client.HTTPMessage in the request_headers argument.
The :attr:~protocol.WebSocketCommonProtocol.request_headers and :attr:~protocol.WebSocketCommonProtocol.response_headers attributes of :class:~protocol.WebSocketCommonProtocol are
:class:~http.Headers instead of :class:~http.client.HTTPMessage.
The :attr:~protocol.WebSocketCommonProtocol.raw_request_headers and :attr:~protocol.WebSocketCommonProtocol.raw_response_headers attributes of :class:~protocol.WebSocketCommonProtocol are removed.
Use :meth:~http.Headers.raw_items instead.
Functions defined in the :mod:~handshake module now receive :class:~http.Headers in argument instead of get_header or set_header functions. This affects libraries that rely on low-level APIs.
Functions defined in the :mod:~http module now return HTTP headers as :class:~http.Headers instead of lists of (name, value) pairs.
Note that :class:~http.Headers and :class:~http.client.HTTPMessage provide similar APIs.
Also:
Added compatibility with Python 3.7.
diffstat:
www/py-websockets/Makefile | 4 ++--
www/py-websockets/PLIST | 8 +++++++-
www/py-websockets/distinfo | 10 +++++-----
3 files changed, 14 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r 97c8993bea19 -r 0b66ad272b06 www/py-websockets/Makefile
--- a/www/py-websockets/Makefile Fri Sep 07 11:19:16 2018 +0000
+++ b/www/py-websockets/Makefile Fri Sep 07 11:26:42 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/07/06 08:04:21 adam Exp $
+# $NetBSD: Makefile,v 1.7 2018/09/07 11:26:42 adam Exp $
-DISTNAME= websockets-5.0.1
+DISTNAME= websockets-6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/websockets/}
diff -r 97c8993bea19 -r 0b66ad272b06 www/py-websockets/PLIST
--- a/www/py-websockets/PLIST Fri Sep 07 11:19:16 2018 +0000
+++ b/www/py-websockets/PLIST Fri Sep 07 11:26:42 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/06/18 10:46:26 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/09/07 11:26:42 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -52,6 +52,12 @@
${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
+${PYSITELIB}/websockets/py35/server.py
+${PLIST.py35}${PYSITELIB}/websockets/py35/server.pyc
+${PLIST.py35}${PYSITELIB}/websockets/py35/server.pyo
${PYSITELIB}/websockets/py36/__init__.py
${PYSITELIB}/websockets/py36/__init__.pyc
${PYSITELIB}/websockets/py36/__init__.pyo
diff -r 97c8993bea19 -r 0b66ad272b06 www/py-websockets/distinfo
--- a/www/py-websockets/distinfo Fri Sep 07 11:19:16 2018 +0000
+++ b/www/py-websockets/distinfo Fri Sep 07 11:26:42 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/06/18 10:46:26 adam Exp $
+$NetBSD: distinfo,v 1.5 2018/09/07 11:26:42 adam Exp $
-SHA1 (websockets-5.0.1.tar.gz) = d47b2453b268b38d3d9d216430a241b694ef2ec9
-RMD160 (websockets-5.0.1.tar.gz) = 3bb5e0fc3fc18106b1c8d1f4e3c54630c66bea5b
-SHA512 (websockets-5.0.1.tar.gz) = 66cb4590721afabb480f823f14c19390702350c8bca50ee44f30b8a1a17e813657b85a25081b55390b27c9c390fdefa23f0b19ba09e9d3ed6511a04f0f908f32
-Size (websockets-5.0.1.tar.gz) = 68494 bytes
+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
Home |
Main Index |
Thread Index |
Old Index