openbsd-ports/www/py-webpy/Makefile
2010-11-22 08:36:47 +00:00

39 lines
820 B
Makefile

# $OpenBSD: Makefile,v 1.6 2010/11/22 08:36:53 espie Exp $
COMMENT= web framework for python
VERSION= 0.31
DISTNAME= web.py-${VERSION}
PKGNAME= py-webpy-${VERSION}
REVISION= 1
CATEGORIES= www
MAINTAINER= Benoit Chesneau <benoitc@metavers.net>
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 <bsd.port.mk>