diff options
author | joerg <joerg@pkgsrc.org> | 2006-07-27 13:58:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-07-27 13:58:53 +0000 |
commit | 89843f1e13818fe9504199cda1b6140683bd97e3 (patch) | |
tree | af0a0caf4fc54d3a999e46e054e4f02329a7daee /textproc | |
parent | d5f750aa0889235b967d5f2d7694f9462588ac89 (diff) | |
download | pkgsrc-89843f1e13818fe9504199cda1b6140683bd97e3.tar.gz |
Import cmTemplate-0.3.2. From DESCR:
cmTemplate is a Python module that allows CGI programmers to separate code
from HTML. It is much more powerful than a simple HTML preprocessor, and
can be used to generate any type of formatted text output.
cmTemplate converts the template code into Python code, which is
byte-compiled afterwards. This makes the template processing extremely
fast.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-cmTemplate/DESCR | 7 | ||||
-rw-r--r-- | textproc/py-cmTemplate/Makefile | 27 | ||||
-rw-r--r-- | textproc/py-cmTemplate/PLIST | 5 | ||||
-rw-r--r-- | textproc/py-cmTemplate/distinfo | 5 |
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-cmTemplate/DESCR b/textproc/py-cmTemplate/DESCR new file mode 100644 index 00000000000..604a7cbbaeb --- /dev/null +++ b/textproc/py-cmTemplate/DESCR @@ -0,0 +1,7 @@ +cmTemplate is a Python module that allows CGI programmers to separate code +from HTML. It is much more powerful than a simple HTML preprocessor, and +can be used to generate any type of formatted text output. + +cmTemplate converts the template code into Python code, which is +byte-compiled afterwards. This makes the template processing extremely +fast. diff --git a/textproc/py-cmTemplate/Makefile b/textproc/py-cmTemplate/Makefile new file mode 100644 index 00000000000..1e4ebc9d1e2 --- /dev/null +++ b/textproc/py-cmTemplate/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/07/27 13:58:53 joerg Exp $ +# + +DISTNAME= cmTemplate-0.3.2 +PKGNAME= ${PYPKGPREFIX}-cmTemplate-0.3.2 +CATEGORIES= textproc python +MASTER_SITES= http://www.bouncingchairs.net/oss/ + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://www.bouncingchairs.net/oss/ +COMMENT= Simple and fast Python template engine + +PY_PATCHPLIST= # empty +PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} +PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py + +do-build: + ${PYTHONBIN} ${PYCOMPILEALL} -l ${WRKSRC} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/cmTemplate.py ${PREFIX}/${PYSITELIB} + ${INSTALL_DATA} ${WRKSRC}/cmTemplate.pyc ${PREFIX}/${PYSITELIB} + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PYPKGPREFIX}-cmTemplate + ${INSTALL_DATA} ${WRKSRC}/doc/cmTemplate.html ${PREFIX}/share/doc/${PYPKGPREFIX}-cmTemplate + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-cmTemplate/PLIST b/textproc/py-cmTemplate/PLIST new file mode 100644 index 00000000000..c68db345a8a --- /dev/null +++ b/textproc/py-cmTemplate/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/27 13:58:53 joerg Exp $ +${PYSITELIB}/cmTemplate.py +${PYSITELIB}/cmTemplate.pyc +share/doc/${PYPKGPREFIX}-cmTemplate/cmTemplate.html +@dirrm share/doc/${PYPKGPREFIX}-cmTemplate diff --git a/textproc/py-cmTemplate/distinfo b/textproc/py-cmTemplate/distinfo new file mode 100644 index 00000000000..5a9a2557dd0 --- /dev/null +++ b/textproc/py-cmTemplate/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/07/27 13:58:53 joerg Exp $ + +SHA1 (cmTemplate-0.3.2.tar.gz) = 77a768e3cd8eac18468657ffa11c24f3c5581eaf +RMD160 (cmTemplate-0.3.2.tar.gz) = a55d76571f2e6ca5474affcda34f4e5fb031d9af +Size (cmTemplate-0.3.2.tar.gz) = 56642 bytes |