openbsd-ports/textproc/py-yaml/Makefile
2011-06-08 18:09:58 +00:00

36 lines
696 B
Makefile

# $OpenBSD: Makefile,v 1.7 2011/06/08 18:09:59 jasper Exp $
COMMENT= YAML parser and emitter in Python
MODPY_EGG_VERSION=3.08
DISTNAME= PyYAML-${MODPY_EGG_VERSION}
PKGNAME= py-yaml-${MODPY_EGG_VERSION}
REVISION= 3
CATEGORIES= textproc
HOMEPAGE= http://pyyaml.org/wiki/PyYAML
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://pyyaml.org/download/pyyaml/
WANTLIB+= yaml
MODULES= lang/python
LIB_DEPENDS= devel/libyaml
pre-configure:
${SUBST_CMD} ${WRKSRC}/setup.cfg
do-regress:
@cd ${WRKSRC} && ${MODPY_BIN} ${MODPY_SETUP} test
.include <bsd.port.mk>