py-zeroconf: updated to 0.131.0

v0.131.0 (2023-12-19)

Feature

* Small speed up to constructing outgoing packets
* Speed up processing incoming packets
* Speed up the query handler

v0.130.0 (2023-12-16)

Feature

* Make ServiceInfo aware of question history
* Small speed up to ServiceInfo construction
* Significantly improve efficiency of the ServiceBrowser scheduler
* Small speed up to processing incoming records
* Small performance improvement for converting time
* Small performance improvement for ServiceInfo asking questions
* Small performance improvement constructing outgoing questions

Fix

* Scheduling race with the QueryScheduler
* Ensure question history suppresses duplicates
* Microsecond precision loss in the query handler
* Ensure IPv6 scoped address construction uses the string cache
This commit is contained in:
adam 2024-01-28 20:44:28 +00:00
parent 1cf7690aa1
commit 9ab0ea5886
3 changed files with 16 additions and 15 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.39 2023/11/23 08:52:12 wiz Exp $
# $NetBSD: Makefile,v 1.40 2024/01/28 20:44:28 adam Exp $
DISTNAME= zeroconf-0.127.0
DISTNAME= zeroconf-0.131.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zeroconf/}
@ -10,11 +10,10 @@ HOMEPAGE= https://github.com/jstasiak/python-zeroconf
COMMENT= Pure Python Multicast DNS Service Discovery Library
LICENSE= gnu-lgpl-v2
TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=0.29.32:../../devel/py-cython
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=0:../../devel/py-poetry-core
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=3.0.5:../../devel/py-cython
TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.5.2:../../devel/py-poetry-core
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=65.4.1:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-ifaddr>=0.1.7:../../net/py-ifaddr
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0.20.3:../../devel/py-test-asyncio
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=2.1.0:../../devel/py-test-timeout
@ -25,11 +24,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-async-timeout>=4.0.1:../../devel/py-async-timeout
DEPENDS+= ${PYPKGPREFIX}-async-timeout>=3.0.0:../../devel/py-async-timeout
.endif
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.10 2023/11/23 08:52:12 wiz Exp $
@comment $NetBSD: PLIST,v 1.11 2024/01/28 20:44:28 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/COPYING
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@ -116,6 +116,11 @@ ${PYSITELIB}/zeroconf/_utils/__init__.pyo
${PYSITELIB}/zeroconf/_utils/asyncio.py
${PYSITELIB}/zeroconf/_utils/asyncio.pyc
${PYSITELIB}/zeroconf/_utils/asyncio.pyo
${PYSITELIB}/zeroconf/_utils/ipaddress.pxd
${PYSITELIB}/zeroconf/_utils/ipaddress.py
${PYSITELIB}/zeroconf/_utils/ipaddress.pyc
${PYSITELIB}/zeroconf/_utils/ipaddress.pyo
${PYSITELIB}/zeroconf/_utils/ipaddress.so
${PYSITELIB}/zeroconf/_utils/name.py
${PYSITELIB}/zeroconf/_utils/name.pyc
${PYSITELIB}/zeroconf/_utils/name.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.39 2023/11/23 08:52:12 wiz Exp $
$NetBSD: distinfo,v 1.40 2024/01/28 20:44:28 adam Exp $
BLAKE2s (zeroconf-0.127.0.tar.gz) = ec373e0642190d4ed8d9a49777e286007e63bd6c2990ca8cd41fb85181014ed4
SHA512 (zeroconf-0.127.0.tar.gz) = 7c8aef766dcc0f3411c4230decd5a0af18ae795e0e4253be2dc69af6ba314271a336807ace1458bb0a081455afa8cc9d8769413bbc97f024e3d3e877cd1e6f2f
Size (zeroconf-0.127.0.tar.gz) = 161143 bytes
BLAKE2s (zeroconf-0.131.0.tar.gz) = b34d83310d44008fcbe92d2cf7e7bf381040768ca6a2a876ba3cd1a6ce837e1e
SHA512 (zeroconf-0.131.0.tar.gz) = 7b7f5494a589306c458dc4fedd940aab86918e9979d5b9f0a466d28b74795c83351f82fdf501a983e9df3e32a8be9a88af3486e79ade23ab73d889610331d89a
Size (zeroconf-0.131.0.tar.gz) = 169253 bytes