git: 55e087f0a04a - main - dns/py-dnspython: Update version 2.6.1=>2.7.0

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 07 Oct 2024 05:34:55 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55e087f0a04a3fd10faddd534affb270a96062e1

commit 55e087f0a04a3fd10faddd534affb270a96062e1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-07 05:21:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-07 05:34:38 +0000

    dns/py-dnspython: Update version 2.6.1=>2.7.0
    
    Changelog: https://github.com/rthalley/dnspython/releases/tag/v2.7.0
---
 dns/py-dnspython/Makefile | 14 ++++++++++----
 dns/py-dnspython/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 6bd8c2636adb..62f4135a94ff 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dnspython
-DISTVERSION=	2.6.1
+DISTVERSION=	2.7.0
 PORTEPOCH=	1
 CATEGORIES=	dns python
 MASTER_SITES=	PYPI
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent cython pep517
 
 BINARY_ALIAS=	git=false
@@ -36,10 +36,16 @@ DNSSEC_USE=		PYTHON=cryptography
 DOH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=4.1.0:www/py-h2@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}httpcore>=0.17.3:www/py-httpcore@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}httpx>=0.25.1:www/py-httpx@${PY_FLAVOR}
-DOQ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aioquic>=0.9.20:www/py-aioquic@${PY_FLAVOR}
+DOQ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aioquic>=1.0.0:www/py-aioquic@${PY_FLAVOR}
 IDNA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}idna>=2.1:dns/py-idna@${PY_FLAVOR}
 TRIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0.14:net/py-trio@${PY_FLAVOR}
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3900
+IGNORE=		requires Python 3.9 or later
+.endif
+
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
@@ -47,4 +53,4 @@ post-install-EXAMPLES-on:
 do-test:
 	cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/dns/py-dnspython/distinfo b/dns/py-dnspython/distinfo
index 9ffffff7272f..1f0d91726964 100644
--- a/dns/py-dnspython/distinfo
+++ b/dns/py-dnspython/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708322723
-SHA256 (dnspython-2.6.1.tar.gz) = e8f0f9c23a7b7cb99ded64e6c3a6f3e701d78f50c55e002b839dea7225cff7cc
-SIZE (dnspython-2.6.1.tar.gz) = 332727
+TIMESTAMP = 1728278129
+SHA256 (dnspython-2.7.0.tar.gz) = ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1
+SIZE (dnspython-2.7.0.tar.gz) = 345197