138e4fb713
Bug fix release, maintainer timeout.
32 lines
701 B
Makefile
32 lines
701 B
Makefile
# $OpenBSD: Makefile,v 1.20 2013/11/07 09:17:56 benoit Exp $
|
|
|
|
COMMENT= DNS toolkit for Python
|
|
|
|
MODPY_EGG_VERSION= 1.11.1
|
|
DISTNAME= dnspython-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.dnspython.org/
|
|
|
|
MAINTAINER= Will Maier <wcmaier@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}kits/${MODPY_EGG_VERSION}/
|
|
|
|
MODULES= lang/python
|
|
MODPY_ADJ_FILES= examples/*.py
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-dnspython
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
|
|
${PREFIX}/share/examples/py-dnspython
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/tests && env PYTHONPATH=../ \
|
|
make check PYTHON=${MODPY_BIN}
|
|
|
|
.include <bsd.port.mk>
|