dns/py-aiodns: Switch to PEP517

Approved by:	hrs (mentor, blanket)
This commit is contained in:
Norikatsu Shigemura 2025-02-21 00:36:27 +09:00
parent 9f8959bc0a
commit c7db152108
No known key found for this signature in database
GPG Key ID: 2D010D1315CC541F
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= aiodns
PORTVERSION= 3.2.0
PORTREVISION= 1
CATEGORIES= dns python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,11 +12,13 @@ WWW= https://pypi.org/project/aiodns/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${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}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
TEST_TARGET= tests.py
DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD}
NO_ARCH= yes