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:           Mon Jul 13 08:30:57 UTC 2026

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

Log Message:
py-websockets: updated to 16.1

16.1

New features

Added an option to force :func:`~asyncio.server.broadcast` to send :class:`bytes` in text frames, or :class:`str` in binary frames.

Improvements

Stripped Authorization, Cookie, and Proxy-Authorization headers when clients follow cross-origin redirects, a security hardening measure.
Escaped control characters in incoming messages in the websockets CLI.
Blocked non-ASCII values in :class:`~datastructures.Headers`.
Rejected incorrect fragmented, compressed messages.
Added wheels for ARMv7, PowerPC, RISC-V, and S/390.

Bug fixes

Prevented str(frame) from crashing when a text frame is fragmented in the middle of a UTF-8 sequence.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.27 -r1.28 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.33 pkgsrc/www/py-websockets/Makefile:1.34
--- pkgsrc/www/py-websockets/Makefile:1.33      Sun Jan 11 09:57:53 2026
+++ pkgsrc/www/py-websockets/Makefile   Mon Jul 13 08:30:57 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2026/01/11 09:57:53 adam Exp $
+# $NetBSD: Makefile,v 1.34 2026/07/13 08:30:57 adam Exp $
 
-DISTNAME=      websockets-16.0
+DISTNAME=      websockets-16.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websockets/}
@@ -15,9 +15,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 # even after 'make install', testing doesn't work at all
 # 9 errors
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} websockets websockets-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES=    websockets
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.27 pkgsrc/www/py-websockets/distinfo:1.28
--- pkgsrc/www/py-websockets/distinfo:1.27      Sun Jan 11 09:57:53 2026
+++ pkgsrc/www/py-websockets/distinfo   Mon Jul 13 08:30:57 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2026/01/11 09:57:53 adam Exp $
+$NetBSD: distinfo,v 1.28 2026/07/13 08:30:57 adam Exp $
 
-BLAKE2s (websockets-16.0.tar.gz) = 5923bfb0a12abcfd6fbadbcd4d34701c38b1a8ed916ed605fe96c689855e2a24
-SHA512 (websockets-16.0.tar.gz) = a8aa5c34eaff8fbfbf837a0bfafd949ee559db83a119417cf28ce538a54a147702b519fc0dc78f0dc53ec69006ca1c9806ca494fc150d1de1b89abb835c04e64
-Size (websockets-16.0.tar.gz) = 179346 bytes
+BLAKE2s (websockets-16.1.tar.gz) = 41b8be8805f096d2ae8244b2b9a50bb6379b3dbadf7283468e49a20d0c38216a
+SHA512 (websockets-16.1.tar.gz) = 0938541855e78db7df7d57eca3fe8984b8595d0afc3af180127db7ee19fc552f9238b6e3de040d913aa294819be3e9222c7a0587a4eef7bfa76b24813a7e62a4
+Size (websockets-16.1.tar.gz) = 182530 bytes



Home | Main Index | Thread Index | Old Index