openbsd-ports/devel/py-turbojson/Makefile
martynas 29e1448521 - switch master site to pypi, which has newer source, required by tg
- update to py-turbojson-1.1.3
- MODPY_EGG_VERSION trick
ok wcmaier@
2008-07-11 22:43:19 +00:00

37 lines
826 B
Makefile

# $OpenBSD: Makefile,v 1.6 2008/07/11 22:43:19 martynas Exp $
COMMENT= template plugin for TurboGears that supports json
MODPY_EGG_VERSION= 1.1.3
DISTNAME= TurboJson-${MODPY_EGG_VERSION}
PKGNAME= py-turbojson-${MODPY_EGG_VERSION}
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= http://pypi.python.org/packages/source/T/TurboJson/
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>