openbsd-ports/textproc/py-yaml/Makefile

36 lines
713 B
Makefile
Raw Normal View History

2011-11-03 16:13:20 -04:00
# $OpenBSD: Makefile,v 1.9 2011/11/03 20:13:20 jasper 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-11-03 16:13:20 -04:00
REVISION= 5
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/
2011-11-03 16:13:20 -04:00
WANTLIB+= yaml ${MODPY_WANTLIB}
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>