pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-cmTemplate Import cmTemplate-0.3.2. From D...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3c3e4486c8c
branches:  trunk
changeset: 516763:e3c3e4486c8c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 27 13:58:53 2006 +0000

description:
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:

 textproc/py-cmTemplate/DESCR    |   7 +++++++
 textproc/py-cmTemplate/Makefile |  27 +++++++++++++++++++++++++++
 textproc/py-cmTemplate/PLIST    |   5 +++++
 textproc/py-cmTemplate/distinfo |   5 +++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r 9c0e2b23282f -r e3c3e4486c8c textproc/py-cmTemplate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmTemplate/DESCR      Thu Jul 27 13:58:53 2006 +0000
@@ -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 -r 9c0e2b23282f -r e3c3e4486c8c textproc/py-cmTemplate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmTemplate/Makefile   Thu Jul 27 13:58:53 2006 +0000
@@ -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@localhost
+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 -r 9c0e2b23282f -r e3c3e4486c8c textproc/py-cmTemplate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmTemplate/PLIST      Thu Jul 27 13:58:53 2006 +0000
@@ -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 -r 9c0e2b23282f -r e3c3e4486c8c textproc/py-cmTemplate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmTemplate/distinfo   Thu Jul 27 13:58:53 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index