openbsd-ports/www/py-webpy/Makefile
eric 1e9fb0c778 update to 0.23 (from maintainer)
tested by Will Maier

ok pyr@
2008-03-26 18:38:30 +00:00

38 lines
814 B
Makefile

# $OpenBSD: Makefile,v 1.2 2008/03/26 18:38:30 eric Exp $
COMMENT= web framework for python
VERSION= 0.23
DISTNAME= web.py-${VERSION}
PKGNAME= py-webpy-${VERSION}
CATEGORIES= www
MAINTAINER= Benoit Chesneau <benoitc@metavers.net>
MASTER_SITES= http://webpy.org/static/
HOMEPAGE= http://webpy.org
# Public Domain, except wsgiserver
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MODULES= lang/python
SUBST_VARS= VERSION
REGRESS_DEPENDS= ::databases/py-sqlite2
WRKDIST= ${WRKDIR}/webpy
post-install:
${INSTALL} ${WRKDIST}/web/wsgiserver/LICENSE.txt \
${WRKINST}${MODPY_SITEPKG}/web/wsgiserver/LICENSE.txt
do-regress:
cd ${WRKSRC} && ${MODPY_BIN} ./test/alltests.py
cd ${WRKSRC} && ${MODPY_BIN} ./test/db.py SqliteTest
.include <bsd.port.mk>