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:           Fri Sep  7 11:26:42 UTC 2018

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-websockets/PLIST
cvs rdiff -u -r1.4 -r1.5 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.6 pkgsrc/www/py-websockets/Makefile:1.7
--- pkgsrc/www/py-websockets/Makefile:1.6       Fri Jul  6 08:04:21 2018
+++ pkgsrc/www/py-websockets/Makefile   Fri Sep  7 11:26:42 2018
@@ -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/}

Index: pkgsrc/www/py-websockets/PLIST
diff -u pkgsrc/www/py-websockets/PLIST:1.5 pkgsrc/www/py-websockets/PLIST:1.6
--- pkgsrc/www/py-websockets/PLIST:1.5  Mon Jun 18 10:46:26 2018
+++ pkgsrc/www/py-websockets/PLIST      Fri Sep  7 11:26:42 2018
@@ -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/__init__.py
 ${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

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.4 pkgsrc/www/py-websockets/distinfo:1.5
--- pkgsrc/www/py-websockets/distinfo:1.4       Mon Jun 18 10:46:26 2018
+++ pkgsrc/www/py-websockets/distinfo   Fri Sep  7 11:26:42 2018
@@ -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