# $OpenBSD: Makefile,v 1.5 2010/08/30 22:02:34 sthen Exp $ COMMENT= web framework for python VERSION= 0.31 DISTNAME= web.py-${VERSION} PKGNAME= py-webpy-${VERSION} REVISION= 1 CATEGORIES= www MAINTAINER= Benoit Chesneau MASTER_SITES= ${HOMEPAGE}/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