openbsd-ports/www/py-tempita/Makefile
fgsch 61cdaae5a5 Import Tempita 0.3.
A very small text templating language.
2009-03-22 16:57:01 +00:00

37 lines
751 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/03/22 16:57:01 fgsch Exp $
COMMENT = very small text templating language
MODPY_EGG_VERSION = 0.3
DISTNAME = Tempita-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www
HOMEPAGE = http://pythonpaste.org/tempita/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=/T/Tempita/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
REGRESS_DEPENDS = ::devel/py-nose
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests lib tests
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/docs/py-tempita
${INSTALL_DATA} ${WRKSRC}/docs/index.txt \
${PREFIX}/share/docs/py-tempita
.include <bsd.port.mk>