# $NetBSD: Makefile,v 1.40 2023/10/28 19:57:12 wiz Exp $ DISTNAME= dnspython-2.4.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-/-/} PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=d/dnspython/} MAINTAINER= gson@NetBSD.org HOMEPAGE= https://www.dnspython.org/ COMMENT= Python DNS toolkit LICENSE= isc TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core-[0-9]*:../../devel/py-poetry-core DEPENDS+= ${PYPKGPREFIX}-idna>=2.1:../../www/py-idna TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk"