diff --git a/dns/py-aiodns/Makefile b/dns/py-aiodns/Makefile index 8d0a336f2125..39007c45dae3 100644 --- a/dns/py-aiodns/Makefile +++ b/dns/py-aiodns/Makefile @@ -1,34 +1,37 @@ PORTNAME= aiodns -PORTVERSION= 3.2.0 -PORTREVISION= 1 +PORTVERSION= 4.0.0 CATEGORIES= dns python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nork@FreeBSD.org COMMENT= Simple DNS resolver for asyncio WWW= https://pypi.org/project/aiodns/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycares>4.0.0:dns/py-pycares@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}uvloop>0:devel/py-uvloop@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycares>=5.0.0:dns/py-pycares@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>0:devel/py-anyio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-tornasync>0:devel/py-pytest-tornasync@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-trio>0:devel/py-pytest-trio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-twisted>0:devel/py-pytest-twisted@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent pep517 -TEST_TARGET= tests.py -DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} +USE_PYTHON= autoplist concurrent pep517 pytest +TEST_ARGS= -W ignore::DeprecationWarning NO_ARCH= yes PORTDOCS= README.rst OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR} .include diff --git a/dns/py-aiodns/distinfo b/dns/py-aiodns/distinfo index 242d8d945c64..b4a6fc352486 100644 --- a/dns/py-aiodns/distinfo +++ b/dns/py-aiodns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738983962 -SHA256 (aiodns-3.2.0.tar.gz) = 62869b23409349c21b072883ec8998316b234c9a9e36675756e8e317e8768f72 -SIZE (aiodns-3.2.0.tar.gz) = 7823 +TIMESTAMP = 1768234323 +SHA256 (aiodns-4.0.0.tar.gz) = 17be26a936ba788c849ba5fd20e0ba69d8c46e6273e846eb5430eae2630ce5b1 +SIZE (aiodns-4.0.0.tar.gz) = 26204