openbsd-ports/devel/py-turbojson/Makefile
2010-08-30 22:24:14 +00:00

39 lines
886 B
Makefile

# $OpenBSD: Makefile,v 1.10 2010/08/30 22:24:16 jasper Exp $
COMMENT = template plugin for TurboGears that supports json
MODPY_EGG_VERSION = 1.1.4
DISTNAME = TurboJson-${MODPY_EGG_VERSION}
PKGNAME = py-turbojson-${MODPY_EGG_VERSION}
REVISION = 2
CATEGORIES = devel
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 = ${MASTER_SITE_PYPI:=T/TurboJson/}
MODULES = lang/python
RUN_DEPENDS = ::databases/py-sqlobject \
::devel/py-ruledispatch \
::devel/py-simplejson \
::devel/py-peak-rules \
::devel/py-prioritized_methods
REGRESS_DEPENDS = ${RUN_DEPENDS} \
::devel/py-nose
MODPY_SETUPTOOLS = Yes
do-regress:
cd ${WRKSRC}/turbojson && ${LOCALBASE}/bin/nosetests
.include <bsd.port.mk>