changeset 6010:a24b6e4af331

xcb-proto: work with python2.4 too.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 05 Nov 2010 21:03:12 +0100
parents 6c026e9515f0
children 3b57af80d93c
files gub/specs/xcb-proto.py
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/xcb-proto.py	Fri Nov 05 21:02:43 2010 +0100
+++ b/gub/specs/xcb-proto.py	Fri Nov 05 21:03:12 2010 +0100
@@ -2,4 +2,12 @@
 
 class Xcb_proto (target.AutoBuild):
     source = 'http://xcb.freedesktop.org/dist/xcb-proto-1.3.tar.gz'
-    dependencies = ['tools::libtool']
+    dependencies = [
+        'tools::libtool',
+#        'tools::python-2-6',
+        'tools::python',
+        ]
+    def patch (self):
+        self.file_sub ([('2[.]5', '2.4')], '%(srcdir)s/configure.ac', must_succeed=True)
+        self.file_sub ([('2[.]5', '2.4')], '%(srcdir)s/configure', must_succeed=True)
+    #force_autoupdate = True