From 0a784fe7fddb2d8dc5542ca3a50d720f4ef98851 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 8 May 2010 13:51:01 +0000 Subject: Update py-genshi to 0.6. Version 0.6 http://svn.edgewall.org/repos/genshi/tags/0.6.0/ (Apr 22 2010, from branches/stable/0.6.x) * Support for Python 2.3 has been dropped. * Rewrite of the XPath evaluation engine for better performance and improved correctness. This is the result of integrating work done by Marcin Kurczych during GSoC 2008. * Updated the Python AST processing for template code evaluation to use the `_ast` module instead of the deprecated `compiler` package, including an adapter layer for Python 2.4. This, too, is the result of integrating work done by Marcin Kurczych during GSoC 2008. * Added caching in the serialization stage for improved performance in some cases. * Various improvements to the HTML sanitization filter. * Fix problem with I18n filter that would get confused by expressions in attribute values when inside an `i18n:msg` block (ticket #250). * Fix problem with the transformation filter dropping events after the selection (ticket #290). * `for` loops in template code blocks no longer establish their own locals scope, meaning you can now access variables assigned in the loop outside of the loop, just as you can in regular Python code (ticket #259). * Import statements inside function definitions in template code blocks no longer result in an UndefinedError when the imported name is accessed (ticket #276). * Fixed handling of relative URLs with fragment identifiers containing colons in the `HTMLSanitizer` (ticket #274). * Added an option to the `HTMLFiller` to also populate password fields. * Match template processing no longer produces unwanted duplicate output in some cases (ticket #254). * Templates instantiated without a loader now get an implicit loader based on their file path, or the current directory as a fallback (ticket #320). * Added documentation for the `TemplateLoader`. * Enhanced documentation for internationalization. --- www/py-genshi/Makefile | 6 +++--- www/py-genshi/PLIST | 13 ++++++++++--- www/py-genshi/distinfo | 8 ++++---- 3 files changed, 17 insertions(+), 10 deletions(-) (limited to 'www') diff --git a/www/py-genshi/Makefile b/www/py-genshi/Makefile index 8a7bb69b6f1..7988bc7fcb3 100644 --- a/www/py-genshi/Makefile +++ b/www/py-genshi/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2010/01/27 08:46:23 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2010/05/08 13:51:01 obache Exp $ # -DISTNAME= Genshi-0.5.1 +DISTNAME= Genshi-0.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= www python MASTER_SITES= http://ftp.edgewall.com/pub/genshi/ @@ -16,7 +16,7 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat PKG_DESTDIR_SUPPORT= user-destdir -USE_LANGUAGES= c +USE_LANGUAGES= # empty .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-genshi/PLIST b/www/py-genshi/PLIST index 95d7f887cfd..cb5b10de292 100644 --- a/www/py-genshi/PLIST +++ b/www/py-genshi/PLIST @@ -1,15 +1,13 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 22:00:32 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/05/08 13:51:01 obache 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}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/${EGG_INFODIR}/zip-safe ${PYSITELIB}/genshi/__init__.py ${PYSITELIB}/genshi/__init__.pyc ${PYSITELIB}/genshi/__init__.pyo -${PYSITELIB}/genshi/_speedups.so ${PYSITELIB}/genshi/builder.py ${PYSITELIB}/genshi/builder.pyc ${PYSITELIB}/genshi/builder.pyo @@ -40,6 +38,15 @@ ${PYSITELIB}/genshi/path.pyo ${PYSITELIB}/genshi/template/__init__.py ${PYSITELIB}/genshi/template/__init__.pyc ${PYSITELIB}/genshi/template/__init__.pyo +${PYSITELIB}/genshi/template/_ast24.py +${PYSITELIB}/genshi/template/_ast24.pyc +${PYSITELIB}/genshi/template/_ast24.pyo +${PYSITELIB}/genshi/template/ast24.py +${PYSITELIB}/genshi/template/ast24.pyc +${PYSITELIB}/genshi/template/ast24.pyo +${PYSITELIB}/genshi/template/astutil.py +${PYSITELIB}/genshi/template/astutil.pyc +${PYSITELIB}/genshi/template/astutil.pyo ${PYSITELIB}/genshi/template/base.py ${PYSITELIB}/genshi/template/base.pyc ${PYSITELIB}/genshi/template/base.pyo diff --git a/www/py-genshi/distinfo b/www/py-genshi/distinfo index b6f56036277..b455a86e198 100644 --- a/www/py-genshi/distinfo +++ b/www/py-genshi/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2008/08/01 08:38:22 obache Exp $ +$NetBSD: distinfo,v 1.2 2010/05/08 13:51:01 obache Exp $ -SHA1 (Genshi-0.5.1.tar.gz) = c959c9847c348cac0a8a35e5e65d6dc593277aec -RMD160 (Genshi-0.5.1.tar.gz) = 0952ff38cd0b95f25c593c8f05ce618b426204d3 -Size (Genshi-0.5.1.tar.gz) = 375636 bytes +SHA1 (Genshi-0.6.tar.gz) = 8b4d5d43dc614bc83de49c5be1c3b8a3908a8062 +RMD160 (Genshi-0.6.tar.gz) = bca068da7956f03358d2f46cb4616e06506b8ae9 +Size (Genshi-0.6.tar.gz) = 433946 bytes -- cgit v1.2.3