py-dns: update to 2.5.0. 2.5.0 Dnspython now uses hatchling for builds. Asynchronous destinationless sockets now work on Windows. Cython is no longer supported due to various typing issues. Dnspython now explicitly canonicalizes IPv4 and IPv6 addresses. Previously it was possible for non-canonical IPv6 forms to be stored in a AAAA address, which would work correctly but possibly cause problmes if the address were used as a key in a dictionary. The number of messages in a section can be retrieved with section_count(). Truncation preferences for messages can be specified. The length of a message can be automatically prepended when rendering. dns.message.create_response() automatically adds padding when required by RFC 8467. The TLS verify parameter is now supported by dns.query.tls(), and the DoH and DoT Nameserver subclasses. The MutableMapping used to store content in a zone may now be specified by a factory when subclassing. Factories may also be provided for writable verisons and immutable versions. dns.name.Name now has predecessor() and successor() methods implementing RFC 4471. QUIC has had a number of bug fixes and also now supports session tickets for faster session resumption. The NSEC3 class now has a next_name() method for retrieving the next name as a dns.name.Name. Windows WMI interface detection should be more robust.diff -r1.40 -r1.41 pkgsrc/net/py-dns/Makefile
(wiz)
@@ -1,27 +1,26 @@ | @@ -1,27 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.40 2023/10/28 19:57:12 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.41 2024/01/21 20:25:30 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= dnspython-2.4.2 | 3 | DISTNAME= dnspython-2.5.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-/-/} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-/-/} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= net python | 5 | CATEGORIES= net python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/dnspython/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/dnspython/} | |
8 | 7 | |||
9 | MAINTAINER= gson@NetBSD.org | 8 | MAINTAINER= gson@NetBSD.org | |
10 | HOMEPAGE= https://www.dnspython.org/ | 9 | HOMEPAGE= https://www.dnspython.org/ | |
11 | COMMENT= Python DNS toolkit | 10 | COMMENT= Python DNS toolkit | |
12 | LICENSE= isc | 11 | LICENSE= isc | |
13 | 12 | |||
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling | |
15 | DEPENDS+= ${PYPKGPREFIX}-idna>=2.1:../../www/py-idna | 14 | DEPENDS+= ${PYPKGPREFIX}-idna>=2.1:../../www/py-idna | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov | |
18 | 17 | |||
19 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
20 | 19 | |||
21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
22 | 21 | |||
23 | do-test: | 22 | do-test: | |
24 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | 23 | cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests | |
25 | 24 | |||
26 | .include "../../lang/python/wheel.mk" | 25 | .include "../../lang/python/wheel.mk" | |
27 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.18 2023/10/28 19:57:12 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.19 2024/01/21 20:25:30 wiz Exp $ | |
2 | ${PYSITELIB}/dns/__init__.py | 2 | ${PYSITELIB}/dns/__init__.py | |
3 | ${PYSITELIB}/dns/__init__.pyc | 3 | ${PYSITELIB}/dns/__init__.pyc | |
4 | ${PYSITELIB}/dns/__init__.pyo | 4 | ${PYSITELIB}/dns/__init__.pyo | |
5 | ${PYSITELIB}/dns/_asyncbackend.py | 5 | ${PYSITELIB}/dns/_asyncbackend.py | |
6 | ${PYSITELIB}/dns/_asyncbackend.pyc | 6 | ${PYSITELIB}/dns/_asyncbackend.pyc | |
7 | ${PYSITELIB}/dns/_asyncbackend.pyo | 7 | ${PYSITELIB}/dns/_asyncbackend.pyo | |
8 | ${PYSITELIB}/dns/_asyncio_backend.py | 8 | ${PYSITELIB}/dns/_asyncio_backend.py | |
9 | ${PYSITELIB}/dns/_asyncio_backend.pyc | 9 | ${PYSITELIB}/dns/_asyncio_backend.pyc | |
10 | ${PYSITELIB}/dns/_asyncio_backend.pyo | 10 | ${PYSITELIB}/dns/_asyncio_backend.pyo | |
11 | ${PYSITELIB}/dns/_ddr.py | 11 | ${PYSITELIB}/dns/_ddr.py | |
12 | ${PYSITELIB}/dns/_ddr.pyc | 12 | ${PYSITELIB}/dns/_ddr.pyc | |
13 | ${PYSITELIB}/dns/_ddr.pyo | 13 | ${PYSITELIB}/dns/_ddr.pyo | |
14 | ${PYSITELIB}/dns/_immutable_ctx.py | 14 | ${PYSITELIB}/dns/_immutable_ctx.py | |
@@ -413,17 +413,17 @@ ${PYSITELIB}/dns/wire.pyc | @@ -413,17 +413,17 @@ ${PYSITELIB}/dns/wire.pyc | |||
413 | ${PYSITELIB}/dns/wire.pyo | 413 | ${PYSITELIB}/dns/wire.pyo | |
414 | ${PYSITELIB}/dns/xfr.py | 414 | ${PYSITELIB}/dns/xfr.py | |
415 | ${PYSITELIB}/dns/xfr.pyc | 415 | ${PYSITELIB}/dns/xfr.pyc | |
416 | ${PYSITELIB}/dns/xfr.pyo | 416 | ${PYSITELIB}/dns/xfr.pyo | |
417 | ${PYSITELIB}/dns/zone.py | 417 | ${PYSITELIB}/dns/zone.py | |
418 | ${PYSITELIB}/dns/zone.pyc | 418 | ${PYSITELIB}/dns/zone.pyc | |
419 | ${PYSITELIB}/dns/zone.pyo | 419 | ${PYSITELIB}/dns/zone.pyo | |
420 | ${PYSITELIB}/dns/zonefile.py | 420 | ${PYSITELIB}/dns/zonefile.py | |
421 | ${PYSITELIB}/dns/zonefile.pyc | 421 | ${PYSITELIB}/dns/zonefile.pyc | |
422 | ${PYSITELIB}/dns/zonefile.pyo | 422 | ${PYSITELIB}/dns/zonefile.pyo | |
423 | ${PYSITELIB}/dns/zonetypes.py | 423 | ${PYSITELIB}/dns/zonetypes.py | |
424 | ${PYSITELIB}/dns/zonetypes.pyc | 424 | ${PYSITELIB}/dns/zonetypes.pyc | |
425 | ${PYSITELIB}/dns/zonetypes.pyo | 425 | ${PYSITELIB}/dns/zonetypes.pyo | |
426 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |||
427 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | 426 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
428 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | 427 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
429 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | 428 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
429 | ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.24 2023/08/09 20:19:09 adam Exp $ | 1 | $NetBSD: distinfo,v 1.25 2024/01/21 20:25:30 wiz Exp $ | |
2 | 2 | |||
3 | BLAKE2s (dnspython-2.4.2.tar.gz) = 73a3da94c33ac2eb3d53f9558dfa919923e5b90b1a892794ae08aaa10f5305a2 | 3 | BLAKE2s (dnspython-2.5.0.tar.gz) = 649c6aab80877d38c1d04018877605648c2ae8987b586a9734839f1e13f8bd25 | |
4 | SHA512 (dnspython-2.4.2.tar.gz) = a64cf8f02f7c223d5b9a4ab77dd933d766909b04e7ee5bfa6f2e882448dc7c543d869d8e4bce27b5f10ef3c006d54150904767d9c22c4219fdc7db5bc6da26c9 | 4 | SHA512 (dnspython-2.5.0.tar.gz) = d71973b0106ebeecaf0c67e1095dc5baf4d35b2b90885c92a7903125d1baed4a21daca1276b8add86dc9021392557f1a265e0ba6e318fbdab98d1cae39144448 | |
5 | Size (dnspython-2.4.2.tar.gz) = 328126 bytes | 5 | Size (dnspython-2.5.0.tar.gz) = 328083 bytes |