openbsd-ports/textproc/py-yaml/Makefile

36 lines
698 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.5 2010/11/10 22:24:16 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}
REVISION= 2
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
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>