From 1f339e1e829a2e7ec822f2f823c717d46624af98 Mon Sep 17 00:00:00 2001 From: martynas Date: Sun, 24 Jun 2007 22:02:32 +0000 Subject: [PATCH] import py-kid-0.9.5 Kid is a simple template language for XML based vocabularies written in Python. It was spawned as a result of a kinky love triangle between XSLT, TAL, and PHP. We believe many of the best features of these languages live on in Kid with much of the limitations and complexity stamped out (see WhatsBorrowed and WhatsDifferent). ok simon@ --- devel/py-kid/Makefile | 38 ++++++++++++++ devel/py-kid/distinfo | 5 ++ devel/py-kid/pkg/DESCR | 5 ++ devel/py-kid/pkg/PLIST | 114 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 162 insertions(+) create mode 100644 devel/py-kid/Makefile create mode 100644 devel/py-kid/distinfo create mode 100644 devel/py-kid/pkg/DESCR create mode 100644 devel/py-kid/pkg/PLIST diff --git a/devel/py-kid/Makefile b/devel/py-kid/Makefile new file mode 100644 index 00000000000..cdf10cecec2 --- /dev/null +++ b/devel/py-kid/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2007/06/24 22:02:32 martynas Exp $ + +COMMENT= "template language for XML based vocabularies" + +V= 0.9.5 +DISTNAME= kid-${V} +PKGNAME= py-${DISTNAME} + +CATEGORIES= devel lang/python + +HOMEPAGE= http://www.kid-templating.org/ + +MAINTAINER= Martynas Venckus + +# GPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.kid-templating.org/dist/${V}/ + +MODULES= lang/python + +MODPY_SETUPTOOLS= Yes + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-kid + ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-kid/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-kid + cd ${WRKSRC}/examples && \ + find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-kid/{} \; && \ + find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-kid/{} \; + +do-regress: + cd ${WRKSRC} && ${MODPY_BIN} run_tests.py + +.include diff --git a/devel/py-kid/distinfo b/devel/py-kid/distinfo new file mode 100644 index 00000000000..e2ed4f98301 --- /dev/null +++ b/devel/py-kid/distinfo @@ -0,0 +1,5 @@ +MD5 (kid-0.9.5.tar.gz) = YVRTd+qVcEhSv1qJT3yuJg== +RMD160 (kid-0.9.5.tar.gz) = xNjf6IvwIxEAA2TcDkEUByH/MAY= +SHA1 (kid-0.9.5.tar.gz) = Pn4y/Kq7HB+M96BrpyrDOTEK3Ao= +SHA256 (kid-0.9.5.tar.gz) = TlY029pO0/w9CDodApEN3BBuUR3+ZpImFduXX1B2WV8= +SIZE (kid-0.9.5.tar.gz) = 129708 diff --git a/devel/py-kid/pkg/DESCR b/devel/py-kid/pkg/DESCR new file mode 100644 index 00000000000..c296e31875f --- /dev/null +++ b/devel/py-kid/pkg/DESCR @@ -0,0 +1,5 @@ +Kid is a simple template language for XML based vocabularies written +in Python. It was spawned as a result of a kinky love triangle +between XSLT, TAL, and PHP. We believe many of the best features +of these languages live on in Kid with much of the limitations and +complexity stamped out (see WhatsBorrowed and WhatsDifferent). diff --git a/devel/py-kid/pkg/PLIST b/devel/py-kid/pkg/PLIST new file mode 100644 index 00000000000..9236fc93b52 --- /dev/null +++ b/devel/py-kid/pkg/PLIST @@ -0,0 +1,114 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/24 22:02:32 martynas Exp $ +bin/kid +bin/kidc +lib/python${MODPY_VERSION}/site-packages/kid/ +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/entry_points.txt +lib/python${MODPY_VERSION}/site-packages/kid-0.9.5-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/kid/__init__.py +lib/python${MODPY_VERSION}/site-packages/kid/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/kid/codewriter.py +lib/python${MODPY_VERSION}/site-packages/kid/codewriter.pyc +lib/python${MODPY_VERSION}/site-packages/kid/compile.py +lib/python${MODPY_VERSION}/site-packages/kid/compile.pyc +lib/python${MODPY_VERSION}/site-packages/kid/compiler.py +lib/python${MODPY_VERSION}/site-packages/kid/compiler.pyc +lib/python${MODPY_VERSION}/site-packages/kid/element.py +lib/python${MODPY_VERSION}/site-packages/kid/element.pyc +lib/python${MODPY_VERSION}/site-packages/kid/filter.py +lib/python${MODPY_VERSION}/site-packages/kid/filter.pyc +lib/python${MODPY_VERSION}/site-packages/kid/format.py +lib/python${MODPY_VERSION}/site-packages/kid/format.pyc +lib/python${MODPY_VERSION}/site-packages/kid/importer.py +lib/python${MODPY_VERSION}/site-packages/kid/importer.pyc +lib/python${MODPY_VERSION}/site-packages/kid/namespace.py +lib/python${MODPY_VERSION}/site-packages/kid/namespace.pyc +lib/python${MODPY_VERSION}/site-packages/kid/options.py +lib/python${MODPY_VERSION}/site-packages/kid/options.pyc +lib/python${MODPY_VERSION}/site-packages/kid/parser.py +lib/python${MODPY_VERSION}/site-packages/kid/parser.pyc +lib/python${MODPY_VERSION}/site-packages/kid/pull.py +lib/python${MODPY_VERSION}/site-packages/kid/pull.pyc +lib/python${MODPY_VERSION}/site-packages/kid/release.py +lib/python${MODPY_VERSION}/site-packages/kid/release.pyc +lib/python${MODPY_VERSION}/site-packages/kid/run.py +lib/python${MODPY_VERSION}/site-packages/kid/run.pyc +lib/python${MODPY_VERSION}/site-packages/kid/serialization.py +lib/python${MODPY_VERSION}/site-packages/kid/serialization.pyc +lib/python${MODPY_VERSION}/site-packages/kid/server.py +lib/python${MODPY_VERSION}/site-packages/kid/server.pyc +lib/python${MODPY_VERSION}/site-packages/kid/template_util.py +lib/python${MODPY_VERSION}/site-packages/kid/template_util.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/ +lib/python${MODPY_VERSION}/site-packages/kid/test/__init__.py +lib/python${MODPY_VERSION}/site-packages/kid/test/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_attribute_interpolation.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_attribute_interpolation.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_codewriter.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_codewriter.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_comment.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_comment.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_compiler.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_compiler.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_element.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_element.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_error.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_error.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_extended_layout.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_extended_layout.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_extends.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_extends.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_format.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_format.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_kid.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_kid.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_kid_lang.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_kid_lang.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_layout.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_layout.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_match.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_match.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_namespace.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_namespace.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_options.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_options.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_parser.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_parser.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_scope.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_scope.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_serialization.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_serialization.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_serialization_escaping.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_serialization_escaping.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_suffixes.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_suffixes.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_templatepath.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_templatepath.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/test_unicode.py +lib/python${MODPY_VERSION}/site-packages/kid/test/test_unicode.pyc +lib/python${MODPY_VERSION}/site-packages/kid/test/util.py +lib/python${MODPY_VERSION}/site-packages/kid/test/util.pyc +lib/python${MODPY_VERSION}/site-packages/kid/util.py +lib/python${MODPY_VERSION}/site-packages/kid/util.pyc +share/doc/py-kid/ +share/doc/py-kid/custom.css +share/doc/py-kid/default.css +share/doc/py-kid/guide.txt +share/doc/py-kid/index.txt +share/doc/py-kid/language.txt +share/doc/py-kid/makefile +share/doc/py-kid/notes.txt +share/examples/py-kid/ +share/examples/py-kid/basic/ +share/examples/py-kid/basic/README +share/examples/py-kid/basic/self.kid +share/examples/py-kid/basic/sysinfo.kid +share/examples/py-kid/basic/tutorial.kid +share/examples/py-kid/basic/tutorial2.kid +share/examples/py-kid/cgi/ +share/examples/py-kid/cgi/README +share/examples/py-kid/cgi/kid_handler.cgi +share/examples/py-kid/cgi/sysinfo.kid