pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-xml Make it build with python 2.6 - 'as' i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/71f11af6bcad
branches: trunk
changeset: 559910:71f11af6bcad
user: hasso <hasso%pkgsrc.org@localhost>
date: Thu Jun 04 09:31:04 2009 +0000
description:
Make it build with python 2.6 - 'as' is is a reserved keyword in there.
diffstat:
textproc/py-xml/distinfo | 4 +++-
textproc/py-xml/patches/patch-ab | 15 +++++++++++++++
textproc/py-xml/patches/patch-ac | 15 +++++++++++++++
3 files changed, 33 insertions(+), 1 deletions(-)
diffs (51 lines):
diff -r 053e92b04bd9 -r 71f11af6bcad textproc/py-xml/distinfo
--- a/textproc/py-xml/distinfo Thu Jun 04 08:52:11 2009 +0000
+++ b/textproc/py-xml/distinfo Thu Jun 04 09:31:04 2009 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:48 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/06/04 09:31:04 hasso Exp $
SHA1 (PyXML-0.8.4.tar.gz) = 6f30d5907b75ef76809c19e0103d78f4a5fb027c
RMD160 (PyXML-0.8.4.tar.gz) = 976e618d99fb29840e36eb2c7662c1d0a1f2bca9
Size (PyXML-0.8.4.tar.gz) = 734954 bytes
SHA1 (patch-aa) = 51af9ee51699a9a17ebaf000aba3aba5cb07fd94
+SHA1 (patch-ab) = 93ab4c0fa3fca80e8683c454c5fa7f589fe14823
+SHA1 (patch-ac) = 4f9711c695c8ed8c2197373ad31f1459afea1eb0
diff -r 053e92b04bd9 -r 71f11af6bcad textproc/py-xml/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xml/patches/patch-ab Thu Jun 04 09:31:04 2009 +0000
@@ -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 -r 053e92b04bd9 -r 71f11af6bcad textproc/py-xml/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-xml/patches/patch-ac Thu Jun 04 09:31:04 2009 +0000
@@ -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 = []
Home |
Main Index |
Thread Index |
Old Index