Up to [cvs.NetBSD.org] / pkgsrc / www / py-genshi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-genshi: updated to 0.7.9 Version 0.7.9 Add Python 3.12 to CI matrix and fix Python 3.12 support. Add Python 3.13 beta to CI. Add badges to the README.
py-genshi: update to 0.7.8. Version 0.7.8 * Do not merge sub directives if they have not been changed. (#53 by Cédric Krier) * Silence deprecation warnings from attempting to import Ellipsis and Str (which are needed to support older Pythons). (#73 by Cédric Krier) * Remove fallback to distutils, patching of bdist_egg and use of doctools. (#74 by Simon Cross) * Clarify the escaping in _URL_FINDER. (#76 by Simon Cross) * Fix installation with setuptools >= 60. (#68 by Graham Inggs)
py-genshi: convert to wheel.mk Bump PKGREVISION.
*: update for Python base package change Instead of depending on one of the removed packages (that are now included in the base Python packages), include batteries-included.mk to require a Python version that supplies them. Remove now included packages. Bump PKGREVISION.
*: Use FORCE_C_STD=c99 for C packages that use for loop initial declarations without setting -std=c99.
py-genshi: assumes compiler defaults to c99
py-genshi: use versioned_dependencies for babel
py-genshi: updated to 0.7.7 Version 0.7.7 * Declared setuptools as the build backend * Fixed deprecation warnings caused by escape sequences in regex pattern strings Version 0.7.6 * Added support for Python 3.10 and 3.11 * Replaced assertEquals with assertEqual. assertEquals was deprecated in Python 3.2. * Removed used of element.getchildren() which has been removed from the Python standard library elementtree in Python 3.9. * Added support for Python 3.10 by using CodeType.replace in `build_code_chunk` to make code object updates more robust against changes in CodeType. * Moved tests and releases workflows to GitHub Actions * Fixed reference leak in Markup.join C implementation. * Sort directives only by directive index. Previously they were sorted by the class, namespace and arguments of the directives. This was acceptable in Python 2, but is a bug in Python 3 since some the arguments may not be comparable. * Add support for msgctxt to i18n. * Implemented skipping of empty attributes during translation to match the behaviour during translation extraction (i.e. don't try to translate empty strings that are not extracted). * Ported setuptools options to declarative config in setup.cfg. * Removed used of deprecated setuptools Feature in setup.py.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-genshi: updated to 0.7.5 Version 0.7.5 * Fix handling of slices containing function call, variable name and attribute lookup AST nodes in Python 3.9 in template scripts (template expressions already correctly handled these cases). Thank you to Roger Leigh for finding this issue and contributing the fix for it. * C speedup module now available for Python >= 3.3. Support was added for PEP 393 (flexible string representation). Thank you to Inada Naoki for contributing this major enhancement. * Remove the custom 2to3 fixers (no longer used since the removal of 2to3 in 0.7.4). Version 0.7.4 * Add support for deprecation of ast classes slice, Index and ExtSlice in Python 3.9. See https://bugs.python.org/issue34822 for details of the changes. * Update the project URL in setup.py to point to GitHub. * Remove use of 2to3 for generating Python 3 compatible code.
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
py-genshi: updated to 0.7.3 Version 0.7.3 * Add support for PEP 570 (positional-only keyword parameters) changes to CodeType in Python 3.8. Version 0.7.2 * Add support for Python 3.8.
py-genshi: updated to 0.7.1 0.7.1: Add support for Python 3.5, 3.6 and 3.7. Move to GitHub and Travis CI. Add support for iterator arguments to _speedups Markup.join implementation so that it matches the Python implementation. Add HTML5 input placeholder attribute to list of translatable attributes. Add missing boolean attributes to XHTML and HTML serializers. Fix infinite recursion in template inlining. Support slash escaped of CRLF newlines. Disable the speedups C extension on CPython >= 3.3 since Genshi doesn't support the new Unicode C API yet. Fix handling of case where a translation has text after a closing tag. Fix assert with side-effect in xi:fallback directive processing
Set MAINTAINER to pkgsrc-users.
treat python version depended PLIST handling with standard way.
Add separate PLISTs for python-2.x and python-3.x, to fix build with python-3.x.
Pullup ticket #4244 - requested by obache www/py-genshi: security update Revisions pulled up: - www/py-genshi/Makefile 1.8 - www/py-genshi/distinfo 1.3 --- Module Name: pkgsrc Committed By: obache Date: Fri Oct 11 10:54:15 UTC 2013 Modified Files: pkgsrc/www/py-genshi: Makefile distinfo Log Message: Update genshi to 0.6.1. Version 0.6.1 http://svn.edgewall.org/repos/genshi/tags/0.6.1/ (Jan 27 2013, from branches/stable/0.6.x) * Security fix to enhance sanitizing of CSS in style attributes. Genshi's `HTMLSanitizer` disallows style attributes by default (this remains unchanged) and warns against such attacks in its documentation, but the provided CSS santizing is now less lacking (see #455). * Fix for error in how `HTMLFormFiller` would handle `textarea` elements if no value was not supplied form them. * The `HTMLFormFiller` now correctly handles check boxes and radio buttons with an empty `value` attribute. * Template `Context` objects now have a `.copy` method. * Added a simple `tox.ini` file for using tox to test against multiple verions of Python. * Fix for bug in `QName` comparison (see #413). * Fix for bug in handling of trailing events in match template matches (see #399). * Fix i18n namespace declaration in documentation (see #400). * Fix for bug in caching of events in serializers by no longer caching `(TEXT, Markup)` events (see #429). * Fix handling of `None` by `Markup.escape` in `_speedups.c` (see #439). * Fix handling of internal state by match templates (relevant when multiple templates match the same part of the stream, see #370). * Fix handling of multiple events between or on either side of start and end tags in translated messages (see #404). * Fix test failures caused by changes in HTMLParser in Python 2.7 (see #501). * Fix infinite loop in interplotation lexing that was introduced by a change in Python 2.7's tokenizer (see #540). * Fix handling of processing instructions without data (see #368). * Updated MANIFEST.in so as not to rely on build from Subersion 1.6.
Update Genshi to 0.7. Version 0.7 http://svn.edgewall.org/repos/genshi/tags/0.7.0/ (Jan 27 2013, from branches/stable/0.7.x) * Add support for Python 3.1, 3.2 and 3.3 (via 2to3) and for PyPy. The majority of the coding was done in a sprint run by the Cape Town Python Users Group with financial assistance from the Python Software Foundation. * Default input and output encodings changed from UTF-8 to None (i.e. unicode strings). * Skip Mako benchmarks if Mako isn't installed (rather than failing completely).
Update genshi to 0.6.1. Version 0.6.1 http://svn.edgewall.org/repos/genshi/tags/0.6.1/ (Jan 27 2013, from branches/stable/0.6.x) * Security fix to enhance sanitizing of CSS in style attributes. Genshi's `HTMLSanitizer` disallows style attributes by default (this remains unchanged) and warns against such attacks in its documentation, but the provided CSS santizing is now less lacking (see #455). * Fix for error in how `HTMLFormFiller` would handle `textarea` elements if no value was not supplied form them. * The `HTMLFormFiller` now correctly handles check boxes and radio buttons with an empty `value` attribute. * Template `Context` objects now have a `.copy` method. * Added a simple `tox.ini` file for using tox to test against multiple verions of Python. * Fix for bug in `QName` comparison (see #413). * Fix for bug in handling of trailing events in match template matches (see #399). * Fix i18n namespace declaration in documentation (see #400). * Fix for bug in caching of events in serializers by no longer caching `(TEXT, Markup)` events (see #429). * Fix handling of `None` by `Markup.escape` in `_speedups.c` (see #439). * Fix handling of internal state by match templates (relevant when multiple templates match the same part of the stream, see #370). * Fix handling of multiple events between or on either side of start and end tags in translated messages (see #404). * Fix test failures caused by changes in HTMLParser in Python 2.7 (see #501). * Fix infinite loop in interplotation lexing that was introduced by a change in Python 2.7's tokenizer (see #540). * Fix handling of processing instructions without data (see #368). * Updated MANIFEST.in so as not to rely on build from Subersion 1.6.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
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.
DEPENDS should be right after MAINTAINER block, reorder.
Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here.
set LICENSE.
Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages that set it to ${DISTNAME}.
Import Genshi-0.5.1 as www/py-genshi. 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.
Initial revision