git: 44786c25cd3b - main - dns/py-dnspython: Refactor

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 04 Jul 2025 10:28:45 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44786c25cd3bc02ddd549f9f9ba3aa96e140cad3

commit 44786c25cd3bc02ddd549f9f9ba3aa96e140cad3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-07-04 10:26:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-07-04 10:28:24 +0000

    dns/py-dnspython: Refactor
    
    - Remove NOOP python38 related codes
---
 dns/py-dnspython/Makefile | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 62f4135a94ff..b6b2a579431d 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -14,8 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 
-USES=		python:3.9+
-USE_PYTHON=	autoplist concurrent cython pep517
+USES=		python
+USE_PYTHON=	autoplist concurrent cython pep517 pytest
 
 BINARY_ALIAS=	git=false
 NO_ARCH=	yes
@@ -40,12 +40,6 @@ DOQ_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aioquic>=1.0.0:www/py-aioquic@${PY_FLAVO
 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}
@@ -53,4 +47,4 @@ post-install-EXAMPLES-on:
 do-test:
 	cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} utest.py
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>