summaryrefslogtreecommitdiff
path: root/dns/py-dnspython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/py-dnspython/Makefile')
-rw-r--r--dns/py-dnspython/Makefile24
1 files changed, 9 insertions, 15 deletions
diff --git a/dns/py-dnspython/Makefile b/dns/py-dnspython/Makefile
index 62f4135a94ff..4f8abb6b2c82 100644
--- a/dns/py-dnspython/Makefile
+++ b/dns/py-dnspython/Makefile
@@ -1,5 +1,5 @@
PORTNAME= dnspython
-DISTVERSION= 2.7.0
+DISTVERSION= 2.8.0
PORTEPOCH= 1
CATEGORIES= dns python
MASTER_SITES= PYPI
@@ -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:3.10+
+USE_PYTHON= autoplist concurrent cython pep517 pytest
BINARY_ALIAS= git=false
NO_ARCH= yes
@@ -34,17 +34,11 @@ TRIO_DESC= Concurrent async IO library support with TRIO backend
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>=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
+ ${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.0:www/py-httpcore@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.0:www/py-httpx@${PY_FLAVOR}
+DOQ_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioquic>=1.2.0:www/py-aioquic@${PY_FLAVOR}
+IDNA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=3.10:dns/py-idna@${PY_FLAVOR}
+TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.30:net/py-trio@${PY_FLAVOR}
post-install-EXAMPLES-on:
@${MKDIR} ${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>