py-websocket-client: updated to 1.7.0

1.7.0
- Renamed `mask` variable in ABNF to prevent name collision with `mask()` function
- Fixed old http import of HTTPStatus in _handshake.py
- Add `send_text()` and `send_bytes()` to _app.py
- Improved typehint support
- General readability improvements, made all string concatenations use f-strings
- Applied black formatting style to code
This commit is contained in:
adam 2023-12-07 18:20:48 +00:00
parent b6ae90e79b
commit 1609487940
3 changed files with 17 additions and 18 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.24 2023/10/21 14:34:39 adam Exp $
# $NetBSD: Makefile,v 1.25 2023/12/07 18:20:48 adam Exp $
DISTNAME= websocket-client-1.6.4
DISTNAME= websocket-client-1.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/websocket-client/}
@ -10,19 +10,17 @@ HOMEPAGE= https://github.com/websocket-client/websocket-client
COMMENT= WebSocket client module
LICENSE= apache-2.0
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-websockets-[0-9]*:../../www/py-websockets
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} wsdump wsdump-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,11 +1,11 @@
@comment $NetBSD: PLIST,v 1.6 2022/05/11 17:57:24 bouyer Exp $
@comment $NetBSD: PLIST,v 1.7 2023/12/07 18:20:48 adam Exp $
bin/wsdump-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/websocket/__init__.py
${PYSITELIB}/websocket/__init__.pyc
${PYSITELIB}/websocket/__init__.pyo
@ -48,6 +48,7 @@ ${PYSITELIB}/websocket/_utils.pyo
${PYSITELIB}/websocket/_wsdump.py
${PYSITELIB}/websocket/_wsdump.pyc
${PYSITELIB}/websocket/_wsdump.pyo
${PYSITELIB}/websocket/py.typed
${PYSITELIB}/websocket/tests/__init__.py
${PYSITELIB}/websocket/tests/__init__.pyc
${PYSITELIB}/websocket/tests/__init__.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.22 2023/10/21 14:34:39 adam Exp $
$NetBSD: distinfo,v 1.23 2023/12/07 18:20:48 adam Exp $
BLAKE2s (websocket-client-1.6.4.tar.gz) = 91ad958628bd21f23fdf3110352d14b585fcb21aaa9a8983a7a7e41f0386fec3
SHA512 (websocket-client-1.6.4.tar.gz) = d5a44c78bf5f6d4b5a1344bf6d5c94435e529dd85ee5d7fe5552478bbf2e57229ca7573b28a93fa28d1e5cf72fd721b4456bb5e154db578ec652cbc82316413b
Size (websocket-client-1.6.4.tar.gz) = 51905 bytes
BLAKE2s (websocket-client-1.7.0.tar.gz) = f0f6d2c6428ff7c85b185234fb4e58726196556c8e6998fa0f9c3091bfb27873
SHA512 (websocket-client-1.7.0.tar.gz) = 1f6b3253f7febd053e1271bcacd71701ec27d6921ba9791b16a203c8b7240925284e033dba4ad5d4c56a88568dc57ecb760c254964bc3bb4e87df52573239a9a
Size (websocket-client-1.7.0.tar.gz) = 54037 bytes