summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authormarkd <markd>2009-02-02 09:35:45 +0000
committermarkd <markd>2009-02-02 09:35:45 +0000
commitab2190471d335f6b3c05fcd1e700f4bf98e180c6 (patch)
tree22e593d394affdd46a5a7cb101a20b644b7a3cb6 /textproc
parent18c23c51f7d83054154e04115e412ec0f5cafdeb (diff)
downloadpkgsrc-ab2190471d335f6b3c05fcd1e700f4bf98e180c6.tar.gz
Import of py-jinja 1.2
Jinja is a sandboxed template engine written in pure Python. It provides a Django like non-XML syntax and compiles templates into executable python code. It's basically a combination of Django templates and python code.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-jinja/DESCR3
-rw-r--r--textproc/py-jinja/Makefile16
-rw-r--r--textproc/py-jinja/PLIST67
-rw-r--r--textproc/py-jinja/distinfo6
-rw-r--r--textproc/py-jinja/patches/patch-aa17
5 files changed, 109 insertions, 0 deletions
diff --git a/textproc/py-jinja/DESCR b/textproc/py-jinja/DESCR
new file mode 100644
index 00000000000..f2299bb38b5
--- /dev/null
+++ b/textproc/py-jinja/DESCR
@@ -0,0 +1,3 @@
+Jinja is a sandboxed template engine written in pure Python. It provides a
+Django like non-XML syntax and compiles templates into executable python code.
+It's basically a combination of Django templates and python code.
diff --git a/textproc/py-jinja/Makefile b/textproc/py-jinja/Makefile
new file mode 100644
index 00000000000..2e584b94b91
--- /dev/null
+++ b/textproc/py-jinja/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/02 09:35:45 markd Exp $
+#
+
+DISTNAME= Jinja-1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= textproc python
+MASTER_SITES= http://pypi.python.org/packages/source/J/Jinja/
+
+MAINTAINER= markd@NetBSD.org
+HOMEPAGE= http://jinja.pocoo.org/
+COMMENT= Small but fast and easy to use stand-alone template engine
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-jinja/PLIST b/textproc/py-jinja/PLIST
new file mode 100644
index 00000000000..e4497e65658
--- /dev/null
+++ b/textproc/py-jinja/PLIST
@@ -0,0 +1,67 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/02 09:35:45 markd Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/jinja/__init__.py
+${PYSITELIB}/jinja/__init__.pyc
+${PYSITELIB}/jinja/__init__.pyo
+${PYSITELIB}/jinja/_debugger.so
+${PYSITELIB}/jinja/_native.py
+${PYSITELIB}/jinja/_native.pyc
+${PYSITELIB}/jinja/_native.pyo
+${PYSITELIB}/jinja/_speedups.so
+${PYSITELIB}/jinja/constants.py
+${PYSITELIB}/jinja/constants.pyc
+${PYSITELIB}/jinja/constants.pyo
+${PYSITELIB}/jinja/datastructure.py
+${PYSITELIB}/jinja/datastructure.pyc
+${PYSITELIB}/jinja/datastructure.pyo
+${PYSITELIB}/jinja/debugger.py
+${PYSITELIB}/jinja/debugger.pyc
+${PYSITELIB}/jinja/debugger.pyo
+${PYSITELIB}/jinja/defaults.py
+${PYSITELIB}/jinja/defaults.pyc
+${PYSITELIB}/jinja/defaults.pyo
+${PYSITELIB}/jinja/environment.py
+${PYSITELIB}/jinja/environment.pyc
+${PYSITELIB}/jinja/environment.pyo
+${PYSITELIB}/jinja/exceptions.py
+${PYSITELIB}/jinja/exceptions.pyc
+${PYSITELIB}/jinja/exceptions.pyo
+${PYSITELIB}/jinja/filters.py
+${PYSITELIB}/jinja/filters.pyc
+${PYSITELIB}/jinja/filters.pyo
+${PYSITELIB}/jinja/lexer.py
+${PYSITELIB}/jinja/lexer.pyc
+${PYSITELIB}/jinja/lexer.pyo
+${PYSITELIB}/jinja/loaders.py
+${PYSITELIB}/jinja/loaders.pyc
+${PYSITELIB}/jinja/loaders.pyo
+${PYSITELIB}/jinja/nodes.py
+${PYSITELIB}/jinja/nodes.pyc
+${PYSITELIB}/jinja/nodes.pyo
+${PYSITELIB}/jinja/parser.py
+${PYSITELIB}/jinja/parser.pyc
+${PYSITELIB}/jinja/parser.pyo
+${PYSITELIB}/jinja/plugin.py
+${PYSITELIB}/jinja/plugin.pyc
+${PYSITELIB}/jinja/plugin.pyo
+${PYSITELIB}/jinja/tests.py
+${PYSITELIB}/jinja/tests.pyc
+${PYSITELIB}/jinja/tests.pyo
+${PYSITELIB}/jinja/translators/__init__.py
+${PYSITELIB}/jinja/translators/__init__.pyc
+${PYSITELIB}/jinja/translators/__init__.pyo
+${PYSITELIB}/jinja/translators/python.py
+${PYSITELIB}/jinja/translators/python.pyc
+${PYSITELIB}/jinja/translators/python.pyo
+${PYSITELIB}/jinja/utils.py
+${PYSITELIB}/jinja/utils.pyc
+${PYSITELIB}/jinja/utils.pyo
+@dirrm ${PYSITELIB}/jinja/translators
+@dirrm ${PYSITELIB}/jinja
+@dirrm ${PYSITELIB}/${EGG_INFODIR}
diff --git a/textproc/py-jinja/distinfo b/textproc/py-jinja/distinfo
new file mode 100644
index 00000000000..ec0fd857b8b
--- /dev/null
+++ b/textproc/py-jinja/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/02 09:35:45 markd Exp $
+
+SHA1 (Jinja-1.2.tar.gz) = 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097
+RMD160 (Jinja-1.2.tar.gz) = 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a
+Size (Jinja-1.2.tar.gz) = 252918 bytes
+SHA1 (patch-aa) = 1c3051dfb476b94fb59a7335a8184ef08e6ca852
diff --git a/textproc/py-jinja/patches/patch-aa b/textproc/py-jinja/patches/patch-aa
new file mode 100644
index 00000000000..1c36b0c65a7
--- /dev/null
+++ b/textproc/py-jinja/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/02/02 09:35:45 markd Exp $
+
+Dont install docs
+
+--- setup.py.orig 2007-11-18 06:13:24.000000000 +1300
++++ setup.py
+@@ -78,10 +78,6 @@ setup(
+ ],
+ keywords=['python.templating.engines'],
+ packages=['jinja', 'jinja.translators'],
+- data_files=[
+- ('docs/html', list(list_files('docs/html'))),
+- ('docs/txt', list(list_files('docs/src')))
+- ],
+ entry_points='''
+ [python.templating.engines]
+ jinja = jinja.plugin:BuffetPlugin