openbsd-ports/textproc/py-yaml/Makefile

36 lines
695 B
Makefile
Raw Normal View History

2011-09-16 07:41:38 -04:00
# $OpenBSD: Makefile,v 1.8 2011/09/16 11:41:41 espie Exp $
COMMENT= YAML parser and emitter in Python
2008-12-31 07:14:27 -05:00
MODPY_EGG_VERSION=3.08
DISTNAME= PyYAML-${MODPY_EGG_VERSION}
2010-08-30 17:47:15 -04:00
PKGNAME= py-yaml-${MODPY_EGG_VERSION}
2011-09-16 07:41:38 -04:00
REVISION= 4
CATEGORIES= textproc
HOMEPAGE= http://pyyaml.org/wiki/PyYAML
2008-12-31 07:14:27 -05:00
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
2008-12-31 07:14:27 -05:00
MODULES= lang/python
2010-11-20 14:56:47 -05:00
LIB_DEPENDS= devel/libyaml
pre-configure:
${SUBST_CMD} ${WRKSRC}/setup.cfg
2008-12-31 07:14:27 -05:00
do-regress:
@cd ${WRKSRC} && ${MODPY_BIN} ${MODPY_SETUP} test
.include <bsd.port.mk>