openbsd-ports/devel/py-turbojson/Makefile
martynas 40b9cbc48c import py-turbojson-1.0
This package provides a template engine plugin, allowing you to
easily use Json with TurboGears, Buffet or other systems that support
python.templating.engines.

ok simon@
2007-06-24 21:58:12 +00:00

37 lines
778 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/06/24 21:58:12 martynas Exp $
COMMENT= "template plugin for TurboGears that supports json"
V= 1.0
DISTNAME= TurboJson-${V}
PKGNAME= py-turbojson-${V}
CATEGORIES= devel lang/python
HOMEPAGE= http://www.turbogears.org/
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://files.turbogears.org/eggs/
MODULES= lang/python
RUN_DEPENDS= ::databases/py-sqlobject \
::devel/py-ruledispatch \
::devel/py-simplejson
REGRESS_DEPENDS= ${RUN_DEPENDS} \
::devel/py-nose
MODPY_SETUPTOOLS= Yes
do-regress:
cd ${WRKSRC}/lib && nosetests
cd ${WRKSRC}/turbojson && nosetests
.include <bsd.port.mk>