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:   wiz
Date:           Sun Jul 19 11:44:56 UTC 2026

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

Log Message:
py-websockets: update to 16.1.1.

16.1.1

Bug fixes

    Reverted a backwards-incompatible change in decoding non-ASCII header values.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/www/py-websockets/Makefile
cvs rdiff -u -r1.28 -r1.29 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.34 pkgsrc/www/py-websockets/Makefile:1.35
--- pkgsrc/www/py-websockets/Makefile:1.34      Mon Jul 13 08:30:57 2026
+++ pkgsrc/www/py-websockets/Makefile   Sun Jul 19 11:44:56 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2026/07/13 08:30:57 adam Exp $
+# $NetBSD: Makefile,v 1.35 2026/07/19 11:44:56 wiz Exp $
 
-DISTNAME=      websockets-16.1
+DISTNAME=      websockets-16.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/websockets/}
@@ -12,10 +12,20 @@ LICENSE=    modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 
-# even after 'make install', testing doesn't work at all
-# 9 errors
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/src
+PYTEST_ARGS+=  --import-mode=importlib
 
 PY_RENAME_BINARIES=    websockets
 
+# some files missing from tarball
+# https://github.com/python-websockets/websockets/issues/1739
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} ${PYTEST_ARGS} \
+               tests/test_datastructures.py \
+               tests/test_exports.py \
+               tests/test_headers.py \
+               tests/test_imports.py \
+               tests/test_uri.py
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-websockets/distinfo
diff -u pkgsrc/www/py-websockets/distinfo:1.28 pkgsrc/www/py-websockets/distinfo:1.29
--- pkgsrc/www/py-websockets/distinfo:1.28      Mon Jul 13 08:30:57 2026
+++ pkgsrc/www/py-websockets/distinfo   Sun Jul 19 11:44:56 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2026/07/13 08:30:57 adam Exp $
+$NetBSD: distinfo,v 1.29 2026/07/19 11:44:56 wiz Exp $
 
-BLAKE2s (websockets-16.1.tar.gz) = 41b8be8805f096d2ae8244b2b9a50bb6379b3dbadf7283468e49a20d0c38216a
-SHA512 (websockets-16.1.tar.gz) = 0938541855e78db7df7d57eca3fe8984b8595d0afc3af180127db7ee19fc552f9238b6e3de040d913aa294819be3e9222c7a0587a4eef7bfa76b24813a7e62a4
-Size (websockets-16.1.tar.gz) = 182530 bytes
+BLAKE2s (websockets-16.1.1.tar.gz) = c3e0ff7446f05fdea8b349ad5da46cd455a1691e8d629824d4f83076f9e72322
+SHA512 (websockets-16.1.1.tar.gz) = 13a928d88044832c5f6633d555f0543af7a898621117ab690c7daa393f3c6c923e478d51866fff4350706ad258d0bf42ccadd2eac61f6c624a4356769a79121b
+Size (websockets-16.1.1.tar.gz) = 182204 bytes



Home | Main Index | Thread Index | Old Index