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 14:36:43 UTC 2026

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

Log Message:
py-websockets: add comment about tests

(not intended to be run in distributions)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/py-websockets/Makefile

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.35 pkgsrc/www/py-websockets/Makefile:1.36
--- pkgsrc/www/py-websockets/Makefile:1.35      Sun Jul 19 11:44:56 2026
+++ pkgsrc/www/py-websockets/Makefile   Sun Jul 19 14:36:43 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2026/07/19 11:44:56 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2026/07/19 14:36:43 wiz Exp $
 
 DISTNAME=      websockets-16.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,20 +12,10 @@ LICENSE=    modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/src
-PYTEST_ARGS+=  --import-mode=importlib
+# test suite is only intended for developers
+# https://websockets.readthedocs.io/en/stable/project/contributing.html#packaging
 
 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"



Home | Main Index | Thread Index | Old Index