svn commit: r379100 - in head/textproc/py-xml: . files
Kurt Jaeger
pi at FreeBSD.org
Mon Feb 16 17:27:59 UTC 2015
Author: pi
Date: Mon Feb 16 17:27:58 2015
New Revision: 379100
URL: https://svnweb.freebsd.org/changeset/ports/379100
QAT: https://qat.redports.org/buildarchive/r379100/
Log:
textprox/py-xml: 'as' is reserved keyword in newer versions of Python
PR: 197710
Submitted by: Joerg Ruppe-Tanner <joerg.ruppe.tanner at gmail.com>
Added:
head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py (contents, props changed)
Modified:
head/textproc/py-xml/Makefile
Modified: head/textproc/py-xml/Makefile
==============================================================================
--- head/textproc/py-xml/Makefile Mon Feb 16 16:00:05 2015 (r379099)
+++ head/textproc/py-xml/Makefile Mon Feb 16 17:27:58 2015 (r379100)
@@ -3,7 +3,7 @@
PORTNAME= xml
PORTVERSION= 0.8.4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-xml/files/patch-xml_xslt_Stylesheet.py Mon Feb 16 17:27:58 2015 (r379100)
@@ -0,0 +1,13 @@
+--- xml/xslt/Stylesheet.py.orig 2015-02-16 16:52:28 UTC
++++ xml/xslt/Stylesheet.py
+@@ -373,8 +373,8 @@ class StylesheetElement(XsltElement):
+
+ #Attribute sets
+ attribute_sets = filter(lambda x: x.nodeType == Node.ELEMENT_NODE and (x.namespaceURI, x.localName) == (XSL_NAMESPACE, 'attribute-set'), self.childNodes)
+- for as in attribute_sets:
+- as.instantiate(context, processor)
++ for las in attribute_sets:
++ las.instantiate(context, processor)
+ overridden_params = {}
+ for k in topLevelParams.keys():
+ if type(k) != types.TupleType:
More information about the svn-ports-all
mailing list