2011-11-03 16:13:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2011/11/03 20:13:20 jasper Exp $
|
2008-10-18 06:54:52 -04:00
|
|
|
|
|
|
|
COMMENT= YAML parser and emitter in Python
|
|
|
|
|
2008-12-31 07:14:27 -05:00
|
|
|
MODPY_EGG_VERSION=3.08
|
2008-10-18 06:54:52 -04:00
|
|
|
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
|
2008-10-18 06:54:52 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://pyyaml.org/wiki/PyYAML
|
|
|
|
|
2008-12-31 07:14:27 -05:00
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
2008-10-18 06:54:52 -04:00
|
|
|
|
|
|
|
# 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}
|
2010-11-10 17:24:16 -05:00
|
|
|
|
2008-12-31 07:14:27 -05:00
|
|
|
MODULES= lang/python
|
2008-10-18 06:54:52 -04:00
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
LIB_DEPENDS= devel/libyaml
|
2008-10-18 06:54:52 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/setup.cfg
|
|
|
|
|
2008-12-31 07:14:27 -05:00
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ${MODPY_SETUP} test
|
|
|
|
|
2008-10-18 06:54:52 -04:00
|
|
|
.include <bsd.port.mk>
|