ports/net/py-dnspython/Makefile

31 lines
641 B
Makefile
Raw Normal View History

2023-09-20 18:59:05 +00:00
COMMENT= DNS toolkit for Python
2023-08-16 22:26:55 +00:00
# see net/py2-dnspython for py2 version
MODPY_EGG_VERSION= 2.6.1
2023-09-20 18:59:05 +00:00
DISTNAME= dnspython-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= net
REVISION= 0
2023-08-16 22:26:55 +00:00
2023-09-20 18:59:05 +00:00
HOMEPAGE= https://www.dnspython.org/
2023-08-16 22:26:55 +00:00
# BSD
2023-09-20 18:59:05 +00:00
PERMIT_PACKAGE= Yes
2023-08-16 22:26:55 +00:00
2023-09-20 18:59:05 +00:00
FLAVORS= python3
FLAVOR= python3
2023-08-16 22:26:55 +00:00
2023-09-20 18:59:05 +00:00
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= hatchling
2023-09-20 18:59:05 +00:00
MODPY_ADJ_FILES= examples/*.py
2023-08-16 22:26:55 +00:00
2023-09-20 18:59:05 +00:00
TEST_DEPENDS= security/py-ecdsa${MODPY_FLAVOR}
2023-08-16 22:26:55 +00:00
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${MODPY_PY_PREFIX}dnspython
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
${PREFIX}/share/examples/${MODPY_PY_PREFIX}dnspython
.include <bsd.port.mk>