openbsd-ports/www/py-nevow/Makefile
eric 104204484d Divmod Nevow is a web application construction kit written in Python.
It is designed to allow the programmer to express as much of the view
logic as desired in Python, and includes a pure Python XML expression
syntax named stan to facilitate this. However it also provides rich
support for designer-edited templates, using a very small XML
attribute language to provide bi-directional template manipulation
capability. 

Nevow also includes Divmod Athena, a "two way web" implementation,
providing a two-way bridge between Python code on the server and
JavaScript code on the client.  Modular portions of a page, known as
"athena fragments" in the server python and "athena widgets" in the
client javascript, can be individually developed and placed on any
Nevow-rendered page with a small template renderer.  Athena abstracts
the intricacies of HTTP communication, session security, and
browser-specific bugs behind a simple remote-method-call interface,
where individual widgets or fragments can call remote methods on their
client or server peer with one method: "callRemote". 


ok pyr@
2008-04-21 19:15:50 +00:00

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/04/21 19:15:50 eric Exp $
COMMENT= web application construction kit
VERSION= 0.9.31
DISTNAME= Nevow-${VERSION}
PKGNAME= py-nevow-${VERSION}
CATEGORIES= www
HOMEPAGE= http://divmod.org/trac/wiki/DivmodNevow
MAINTAINER= Eric Faurot <eric@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://ekyo.nerim.net/distfiles/
MODULES= lang/python
BUILD_DEPENDS= :py-twisted-web-*:devel/py-twisted/web
RUN_DEPENDS= ${BUILD_DEPENDS} \
:py-epsilon-*:devel/py-epsilon
MODPY_EGG_VERSION= ${VERSION}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-nevow
cp -r ${WRKSRC}/examples/* ${PREFIX}/share/examples/py-nevow
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-nevow
cp -r ${WRKSRC}/doc/txt/* ${PREFIX}/share/doc/py-nevow
TRIALDIR= ${WRKDIR}/trial
do-regress: install
mkdir -m 0777 ${TRIALDIR} && cd ${TRIALDIR} && ${SUDO} su -m nobody -c \
"${LOCALBASE}/bin/trial ${MODPY_SITEPKG}/nevow/test \
${MODPY_SITEPKG}/formless/test"
.include <bsd.port.mk>