summaryrefslogtreecommitdiff
path: root/textproc/py-xml/patches
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-06-04 09:31:04 +0000
committerhasso <hasso@pkgsrc.org>2009-06-04 09:31:04 +0000
commit7b7b819be932399d1bc7839d0fe8fc24a621a512 (patch)
tree1c8ed3de569b89589fc07b61a45db449ff314888 /textproc/py-xml/patches
parent42d4ee9283c12dd8d5fff78e3b7bfd83860ce1bc (diff)
downloadpkgsrc-7b7b819be932399d1bc7839d0fe8fc24a621a512.tar.gz
Make it build with python 2.6 - 'as' is is a reserved keyword in there.
Diffstat (limited to 'textproc/py-xml/patches')
-rw-r--r--textproc/py-xml/patches/patch-ab15
-rw-r--r--textproc/py-xml/patches/patch-ac15
2 files changed, 30 insertions, 0 deletions
diff --git a/textproc/py-xml/patches/patch-ab b/textproc/py-xml/patches/patch-ab
new file mode 100644
index 00000000000..6f378d826a2
--- /dev/null
+++ b/textproc/py-xml/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2009/06/04 09:31:04 hasso Exp $
+
+--- ./xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py.orig 2009-06-04 12:05:08 +0300
++++ ./xml/xpath/ParsedAbbreviatedAbsoluteLocationPath.py 2009-06-04 12:05:21 +0300
+@@ -24,8 +24,8 @@ class ParsedAbbreviatedAbsoluteLocationP
+ self._rel = rel
+ nt = ParsedNodeTest.ParsedNodeTest('node', '')
+ ppl = ParsedPredicateList.ParsedPredicateList([])
+- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+- self._step = ParsedStep.ParsedStep(as, nt, ppl)
++ pas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++ self._step = ParsedStep.ParsedStep(pas, nt, ppl)
+ return
+
+ def evaluate(self, context):
diff --git a/textproc/py-xml/patches/patch-ac b/textproc/py-xml/patches/patch-ac
new file mode 100644
index 00000000000..ee5d9e0408a
--- /dev/null
+++ b/textproc/py-xml/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2009/06/04 09:31:04 hasso Exp $
+
+--- ./xml/xpath/ParsedAbbreviatedRelativeLocationPath.py.orig 2009-06-04 12:06:29 +0300
++++ ./xml/xpath/ParsedAbbreviatedRelativeLocationPath.py 2009-06-04 12:06:43 +0300
+@@ -28,8 +28,8 @@ class ParsedAbbreviatedRelativeLocationP
+ self._right = right
+ nt = ParsedNodeTest.ParsedNodeTest('node','')
+ ppl = ParsedPredicateList.ParsedPredicateList([])
+- as = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
+- self._middle = ParsedStep.ParsedStep(as, nt, ppl)
++ pas = ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')
++ self._middle = ParsedStep.ParsedStep(pas, nt, ppl)
+
+ def evaluate(self, context):
+ res = []