diff options
author | hasso <hasso> | 2009-06-04 09:31:04 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-06-04 09:31:04 +0000 |
commit | c47bf8ba1f7cb425bf9c67ac039f6f86f7da07de (patch) | |
tree | 1c8ed3de569b89589fc07b61a45db449ff314888 /textproc/py-xml | |
parent | 683e731a072beb3b4c5e88f93b63108b1aa65249 (diff) | |
download | pkgsrc-c47bf8ba1f7cb425bf9c67ac039f6f86f7da07de.tar.gz |
Make it build with python 2.6 - 'as' is is a reserved keyword in there.
Diffstat (limited to 'textproc/py-xml')
-rw-r--r-- | textproc/py-xml/distinfo | 4 | ||||
-rw-r--r-- | textproc/py-xml/patches/patch-ab | 15 | ||||
-rw-r--r-- | textproc/py-xml/patches/patch-ac | 15 |
3 files changed, 33 insertions, 1 deletions
diff --git a/textproc/py-xml/distinfo b/textproc/py-xml/distinfo index 166b81a1b2a..6802b9527e4 100644 --- a/textproc/py-xml/distinfo +++ b/textproc/py-xml/distinfo @@ -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 --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 = [] |