openbsd-ports/www/py-tempita/Makefile

37 lines
757 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2011/06/08 18:15:29 rpointel Exp $
COMMENT = very small text templating language
2010-01-08 20:10:00 -05:00
MODPY_EGG_VERSION = 0.4
DISTNAME = Tempita-${MODPY_EGG_VERSION}
2010-01-08 20:10:00 -05:00
PKGNAME = py-${DISTNAME:L}
REVISION = 1
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
2010-11-22 03:36:47 -05:00
REGRESS_DEPENDS = devel/py-nose
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-tempita
${INSTALL_DATA} ${WRKSRC}/docs/index.txt \
${PREFIX}/share/doc/py-tempita
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests lib tests
.include <bsd.port.mk>