From b6ed0f867469f9d7c1b4981ccad5f950f49b29dd Mon Sep 17 00:00:00 2001 From: fgsch Date: Thu, 10 Jul 2008 23:37:21 +0000 Subject: [PATCH] import py-genshi, a toolkit for generation of output for the web. input and ok wcmaier@ --- www/py-genshi/Makefile | 40 ++++++ www/py-genshi/distinfo | 5 + www/py-genshi/pkg/DESCR | 4 + www/py-genshi/pkg/PLIST | 294 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 343 insertions(+) create mode 100644 www/py-genshi/Makefile create mode 100644 www/py-genshi/distinfo create mode 100644 www/py-genshi/pkg/DESCR create mode 100644 www/py-genshi/pkg/PLIST diff --git a/www/py-genshi/Makefile b/www/py-genshi/Makefile new file mode 100644 index 00000000000..2ea3dcdc911 --- /dev/null +++ b/www/py-genshi/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/07/10 23:37:21 fgsch Exp $ + +COMMENT = toolkit for generation of output for the web + +MODPY_EGG_VERSION = 0.5 +DISTNAME = Genshi-${MODPY_EGG_VERSION} +PKGNAME = py-${DISTNAME:L} + +CATEGORIES = www + +HOMEPAGE = http://genshi.edgewall.org/ + +# BSD +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = ftp://ftp.edgewall.com/pub/genshi/ + +MODULES = lang/python + +MODPY_SETUPTOOLS = Yes + +BUILD_DEPENDS = \ + :python-expat-${MODPY_VERSION}.*:lang/python/${MODPY_VERSION},-expat +REGRESS_DEPENDS = ${BUILD_DEPENDS} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-genshi + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-genshi + cd ${WRKSRC}/doc && pax -rw * ${PREFIX}/share/doc/py-genshi + cd ${WRKSRC}/examples && \ + pax -rw * ${PREFIX}/share/examples/py-genshi + +do-regress: + @${MAKE_ENV} PYTHONPATH=${WRKSRC} ${MODPY_BIN} \ + ${WRKSRC}/genshi/tests/__init__.py + +.include diff --git a/www/py-genshi/distinfo b/www/py-genshi/distinfo new file mode 100644 index 00000000000..d0a17728177 --- /dev/null +++ b/www/py-genshi/distinfo @@ -0,0 +1,5 @@ +MD5 (Genshi-0.5.tar.gz) = cFdoiOHZCsEh20kex4a7LA== +RMD160 (Genshi-0.5.tar.gz) = ztv7w3tWjZZ8trXJNfqvsSWzUlE= +SHA1 (Genshi-0.5.tar.gz) = Nu/R+d5CX1aifO9b3WQoGapK4LI= +SHA256 (Genshi-0.5.tar.gz) = lZ5+UsfQVASdP5rOx+5p6slGX/BMkXwuTJ7unorszX8= +SIZE (Genshi-0.5.tar.gz) = 373403 diff --git a/www/py-genshi/pkg/DESCR b/www/py-genshi/pkg/DESCR new file mode 100644 index 00000000000..b025788fac5 --- /dev/null +++ b/www/py-genshi/pkg/DESCR @@ -0,0 +1,4 @@ +Genshi is a Python library that provides an integrated set of +components for parsing, generating, and processing HTML, XML or +other textual content for output generation on the web. The major +feature is a template language, which is heavily inspired by Kid. diff --git a/www/py-genshi/pkg/PLIST b/www/py-genshi/pkg/PLIST new file mode 100644 index 00000000000..c538e2d0b1f --- /dev/null +++ b/www/py-genshi/pkg/PLIST @@ -0,0 +1,294 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/10 23:37:21 fgsch Exp $ +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/zip-safe +lib/python${MODPY_VERSION}/site-packages/genshi/ +lib/python${MODPY_VERSION}/site-packages/genshi/__init__.py +lib/python${MODPY_VERSION}/site-packages/genshi/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/_speedups.so +lib/python${MODPY_VERSION}/site-packages/genshi/builder.py +lib/python${MODPY_VERSION}/site-packages/genshi/builder.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/core.py +lib/python${MODPY_VERSION}/site-packages/genshi/core.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/filters/ +lib/python${MODPY_VERSION}/site-packages/genshi/filters/__init__.py +lib/python${MODPY_VERSION}/site-packages/genshi/filters/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/filters/html.py +lib/python${MODPY_VERSION}/site-packages/genshi/filters/html.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/filters/i18n.py +lib/python${MODPY_VERSION}/site-packages/genshi/filters/i18n.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/filters/transform.py +lib/python${MODPY_VERSION}/site-packages/genshi/filters/transform.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/input.py +lib/python${MODPY_VERSION}/site-packages/genshi/input.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/output.py +lib/python${MODPY_VERSION}/site-packages/genshi/output.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/path.py +lib/python${MODPY_VERSION}/site-packages/genshi/path.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/ +lib/python${MODPY_VERSION}/site-packages/genshi/template/__init__.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/base.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/base.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/directives.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/directives.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/eval.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/eval.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/interpolation.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/interpolation.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/loader.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/loader.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/markup.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/markup.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/plugin.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/plugin.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/template/text.py +lib/python${MODPY_VERSION}/site-packages/genshi/template/text.pyc +lib/python${MODPY_VERSION}/site-packages/genshi/util.py +lib/python${MODPY_VERSION}/site-packages/genshi/util.pyc +share/doc/py-genshi/ +share/doc/py-genshi/2000ft.png +share/doc/py-genshi/api/ +share/doc/py-genshi/api/api-objects.txt +share/doc/py-genshi/api/class-tree.html +share/doc/py-genshi/api/crarr.png +share/doc/py-genshi/api/epydoc.css +share/doc/py-genshi/api/epydoc.js +share/doc/py-genshi/api/genshi-module.html +share/doc/py-genshi/api/genshi.builder-module.html +share/doc/py-genshi/api/genshi.builder.Element-class.html +share/doc/py-genshi/api/genshi.builder.ElementFactory-class.html +share/doc/py-genshi/api/genshi.builder.Fragment-class.html +share/doc/py-genshi/api/genshi.core-module.html +share/doc/py-genshi/api/genshi.core.Attrs-class.html +share/doc/py-genshi/api/genshi.core.Markup-class.html +share/doc/py-genshi/api/genshi.core.Namespace-class.html +share/doc/py-genshi/api/genshi.core.QName-class.html +share/doc/py-genshi/api/genshi.core.Stream-class.html +share/doc/py-genshi/api/genshi.filters-module.html +share/doc/py-genshi/api/genshi.filters.html-module.html +share/doc/py-genshi/api/genshi.filters.html.HTMLFormFiller-class.html +share/doc/py-genshi/api/genshi.filters.html.HTMLSanitizer-class.html +share/doc/py-genshi/api/genshi.filters.i18n-module.html +share/doc/py-genshi/api/genshi.filters.i18n.Translator-class.html +share/doc/py-genshi/api/genshi.filters.transform-module.html +share/doc/py-genshi/api/genshi.filters.transform.InjectorTransformation-class.html +share/doc/py-genshi/api/genshi.filters.transform.StreamBuffer-class.html +share/doc/py-genshi/api/genshi.filters.transform.Transformer-class.html +share/doc/py-genshi/api/genshi.input-module.html +share/doc/py-genshi/api/genshi.input.HTMLParser-class.html +share/doc/py-genshi/api/genshi.input.ParseError-class.html +share/doc/py-genshi/api/genshi.input.XMLParser-class.html +share/doc/py-genshi/api/genshi.output-module.html +share/doc/py-genshi/api/genshi.output.DocType-class.html +share/doc/py-genshi/api/genshi.output.HTMLSerializer-class.html +share/doc/py-genshi/api/genshi.output.TextSerializer-class.html +share/doc/py-genshi/api/genshi.output.XHTMLSerializer-class.html +share/doc/py-genshi/api/genshi.output.XMLSerializer-class.html +share/doc/py-genshi/api/genshi.path-module.html +share/doc/py-genshi/api/genshi.path.Path-class.html +share/doc/py-genshi/api/genshi.path.PathSyntaxError-class.html +share/doc/py-genshi/api/genshi.template-module.html +share/doc/py-genshi/api/genshi.template.base-module.html +share/doc/py-genshi/api/genshi.template.base.BadDirectiveError-class.html +share/doc/py-genshi/api/genshi.template.base.Context-class.html +share/doc/py-genshi/api/genshi.template.base.Template-class.html +share/doc/py-genshi/api/genshi.template.base.TemplateError-class.html +share/doc/py-genshi/api/genshi.template.base.TemplateMeta-class.html +share/doc/py-genshi/api/genshi.template.base.TemplateRuntimeError-class.html +share/doc/py-genshi/api/genshi.template.base.TemplateSyntaxError-class.html +share/doc/py-genshi/api/genshi.template.directives-module.html +share/doc/py-genshi/api/genshi.template.directives.AttrsDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.ChooseDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.ContentDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.DefDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.DirectiveMeta-class.html +share/doc/py-genshi/api/genshi.template.directives.ForDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.IfDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.MatchDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.OtherwiseDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.ReplaceDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.StripDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.WhenDirective-class.html +share/doc/py-genshi/api/genshi.template.directives.WithDirective-class.html +share/doc/py-genshi/api/genshi.template.eval-module.html +share/doc/py-genshi/api/genshi.template.eval.Code-class.html +share/doc/py-genshi/api/genshi.template.eval.Expression-class.html +share/doc/py-genshi/api/genshi.template.eval.LenientLookup-class.html +share/doc/py-genshi/api/genshi.template.eval.StrictLookup-class.html +share/doc/py-genshi/api/genshi.template.eval.Suite-class.html +share/doc/py-genshi/api/genshi.template.eval.Undefined-class.html +share/doc/py-genshi/api/genshi.template.eval.UndefinedError-class.html +share/doc/py-genshi/api/genshi.template.interpolation-module.html +share/doc/py-genshi/api/genshi.template.loader-module.html +share/doc/py-genshi/api/genshi.template.loader.TemplateLoader-class.html +share/doc/py-genshi/api/genshi.template.loader.TemplateNotFound-class.html +share/doc/py-genshi/api/genshi.template.markup-module.html +share/doc/py-genshi/api/genshi.template.markup.MarkupTemplate-class.html +share/doc/py-genshi/api/genshi.template.plugin-module.html +share/doc/py-genshi/api/genshi.template.plugin.AbstractTemplateEnginePlugin-class.html +share/doc/py-genshi/api/genshi.template.plugin.ConfigurationError-class.html +share/doc/py-genshi/api/genshi.template.plugin.MarkupTemplateEnginePlugin-class.html +share/doc/py-genshi/api/genshi.template.plugin.TextTemplateEnginePlugin-class.html +share/doc/py-genshi/api/genshi.template.text-module.html +share/doc/py-genshi/api/genshi.template.text.NewTextTemplate-class.html +share/doc/py-genshi/api/genshi.template.text.OldTextTemplate-class.html +share/doc/py-genshi/api/genshi.util-module.html +share/doc/py-genshi/api/genshi.util.LRUCache-class.html +share/doc/py-genshi/api/help.html +share/doc/py-genshi/api/identifier-index.html +share/doc/py-genshi/api/index.html +share/doc/py-genshi/api/module-tree.html +share/doc/py-genshi/api/redirect.html +share/doc/py-genshi/api/since-index.html +share/doc/py-genshi/common/ +share/doc/py-genshi/common/COPYING +share/doc/py-genshi/common/README.txt +share/doc/py-genshi/common/conf/ +share/doc/py-genshi/common/conf/docutils.ini +share/doc/py-genshi/common/conf/epydoc.ini +share/doc/py-genshi/common/doctools.py +share/doc/py-genshi/common/doctools.pyc +share/doc/py-genshi/common/style/ +share/doc/py-genshi/common/style/bkgnd_pattern.png +share/doc/py-genshi/common/style/docutils.css +share/doc/py-genshi/common/style/edgewall.css +share/doc/py-genshi/common/style/epydoc.css +share/doc/py-genshi/common/style/pygments.css +share/doc/py-genshi/common/style/shadow.gif +share/doc/py-genshi/common/style/vertbars.png +share/doc/py-genshi/common/template.html +share/doc/py-genshi/filters.html +share/doc/py-genshi/filters.txt +share/doc/py-genshi/i18n.html +share/doc/py-genshi/i18n.txt +share/doc/py-genshi/index.html +share/doc/py-genshi/index.txt +share/doc/py-genshi/install.html +share/doc/py-genshi/install.txt +share/doc/py-genshi/logo.gif +share/doc/py-genshi/logo.png +share/doc/py-genshi/plugin.html +share/doc/py-genshi/plugin.txt +share/doc/py-genshi/streams.html +share/doc/py-genshi/streams.txt +share/doc/py-genshi/templates.html +share/doc/py-genshi/templates.txt +share/doc/py-genshi/text-templates.html +share/doc/py-genshi/text-templates.txt +share/doc/py-genshi/upgrade.html +share/doc/py-genshi/upgrade.txt +share/doc/py-genshi/xml-templates.html +share/doc/py-genshi/xml-templates.txt +share/doc/py-genshi/xpath.html +share/doc/py-genshi/xpath.txt +share/examples/py-genshi/ +share/examples/py-genshi/basic/ +share/examples/py-genshi/basic/kidrun.py +share/examples/py-genshi/basic/layout.html +share/examples/py-genshi/basic/layout.kid +share/examples/py-genshi/basic/run.py +share/examples/py-genshi/basic/test.html +share/examples/py-genshi/basic/test.kid +share/examples/py-genshi/bench/ +share/examples/py-genshi/bench/basic.py +share/examples/py-genshi/bench/bigtable.py +share/examples/py-genshi/bench/cheetah/ +share/examples/py-genshi/bench/cheetah/footer.tmpl +share/examples/py-genshi/bench/cheetah/header.tmpl +share/examples/py-genshi/bench/cheetah/template.tmpl +share/examples/py-genshi/bench/clearsilver/ +share/examples/py-genshi/bench/clearsilver/footer.cs +share/examples/py-genshi/bench/clearsilver/header.cs +share/examples/py-genshi/bench/clearsilver/template.cs +share/examples/py-genshi/bench/django/ +share/examples/py-genshi/bench/django/templates/ +share/examples/py-genshi/bench/django/templates/base.html +share/examples/py-genshi/bench/django/templates/template.html +share/examples/py-genshi/bench/django/templatetags/ +share/examples/py-genshi/bench/django/templatetags/__init__.py +share/examples/py-genshi/bench/django/templatetags/bench.py +share/examples/py-genshi/bench/genshi/ +share/examples/py-genshi/bench/genshi/base.html +share/examples/py-genshi/bench/genshi/template.html +share/examples/py-genshi/bench/genshi_text/ +share/examples/py-genshi/bench/genshi_text/footer.txt +share/examples/py-genshi/bench/genshi_text/header.txt +share/examples/py-genshi/bench/genshi_text/template.txt +share/examples/py-genshi/bench/kid/ +share/examples/py-genshi/bench/kid/base.kid +share/examples/py-genshi/bench/kid/template.kid +share/examples/py-genshi/bench/mako/ +share/examples/py-genshi/bench/mako/footer.html +share/examples/py-genshi/bench/mako/header.html +share/examples/py-genshi/bench/mako/template.html +share/examples/py-genshi/bench/myghty/ +share/examples/py-genshi/bench/myghty/base.myt +share/examples/py-genshi/bench/myghty/template.myt +share/examples/py-genshi/bench/simpletal/ +share/examples/py-genshi/bench/simpletal/base.html +share/examples/py-genshi/bench/simpletal/template.html +share/examples/py-genshi/turbogears/ +share/examples/py-genshi/turbogears/README.txt +share/examples/py-genshi/turbogears/dev.cfg +share/examples/py-genshi/turbogears/genshitest/ +share/examples/py-genshi/turbogears/genshitest/__init__.py +share/examples/py-genshi/turbogears/genshitest/config/ +share/examples/py-genshi/turbogears/genshitest/config/__init__.py +share/examples/py-genshi/turbogears/genshitest/config/app.cfg +share/examples/py-genshi/turbogears/genshitest/config/log.cfg +share/examples/py-genshi/turbogears/genshitest/controllers.py +share/examples/py-genshi/turbogears/genshitest/json.py +share/examples/py-genshi/turbogears/genshitest/model.py +share/examples/py-genshi/turbogears/genshitest/release.py +share/examples/py-genshi/turbogears/genshitest/static/ +share/examples/py-genshi/turbogears/genshitest/static/images/ +share/examples/py-genshi/turbogears/genshitest/static/images/favicon.ico +share/examples/py-genshi/turbogears/genshitest/static/images/tg_under_the_hood.png +share/examples/py-genshi/turbogears/genshitest/templates/ +share/examples/py-genshi/turbogears/genshitest/templates/__init__.py +share/examples/py-genshi/turbogears/genshitest/templates/login.html +share/examples/py-genshi/turbogears/genshitest/templates/master.html +share/examples/py-genshi/turbogears/genshitest/templates/plain.txt +share/examples/py-genshi/turbogears/genshitest/templates/sitetemplate.html +share/examples/py-genshi/turbogears/genshitest/templates/welcome.html +share/examples/py-genshi/turbogears/genshitest/tests/ +share/examples/py-genshi/turbogears/genshitest/tests/__init__.py +share/examples/py-genshi/turbogears/genshitest/tests/test_controllers.py +share/examples/py-genshi/turbogears/genshitest/tests/test_model.py +share/examples/py-genshi/turbogears/sample-prod.cfg +share/examples/py-genshi/turbogears/setup.py +share/examples/py-genshi/turbogears/start-genshitest.py +share/examples/py-genshi/tutorial/ +share/examples/py-genshi/tutorial/geddit/ +share/examples/py-genshi/tutorial/geddit/__init__.py +share/examples/py-genshi/tutorial/geddit/controller.py +share/examples/py-genshi/tutorial/geddit/form.py +share/examples/py-genshi/tutorial/geddit/lib/ +share/examples/py-genshi/tutorial/geddit/lib/__init__.py +share/examples/py-genshi/tutorial/geddit/lib/ajax.py +share/examples/py-genshi/tutorial/geddit/lib/template.py +share/examples/py-genshi/tutorial/geddit/model.py +share/examples/py-genshi/tutorial/geddit/static/ +share/examples/py-genshi/tutorial/geddit/static/jquery.js +share/examples/py-genshi/tutorial/geddit/static/layout.css +share/examples/py-genshi/tutorial/geddit/static/logo.gif +share/examples/py-genshi/tutorial/geddit/templates/ +share/examples/py-genshi/tutorial/geddit/templates/_comment.html +share/examples/py-genshi/tutorial/geddit/templates/_form.html +share/examples/py-genshi/tutorial/geddit/templates/comment.html +share/examples/py-genshi/tutorial/geddit/templates/index.html +share/examples/py-genshi/tutorial/geddit/templates/index.xml +share/examples/py-genshi/tutorial/geddit/templates/info.html +share/examples/py-genshi/tutorial/geddit/templates/info.xml +share/examples/py-genshi/tutorial/geddit/templates/layout.html +share/examples/py-genshi/tutorial/geddit/templates/submit.html +share/examples/py-genshi/webpy/ +share/examples/py-genshi/webpy/README.txt +share/examples/py-genshi/webpy/hello.html +share/examples/py-genshi/webpy/hello.py