[Lunar-commits] <moonbase> gobject-introspection: Bugfix in order to be built with Python 2.7

Duncan Gibson engelsman at lunar-linux.org
Tue Oct 5 22:23:41 CEST 2010


commit 2c0fbec036d859c4399da292b6dc9dcc6b601839
Author: Giorgos Chadjipavlis <lazyape at gmail.com>
Date:   Tue Oct 5 22:23:41 2010 +0200

    gobject-introspection: Bugfix in order to be built with Python 2.7
    
    see http://bugzilla-attachments.gnome.org/attachment.cgi?id=166409
---
 devel/gobject-introspection/BUILD   |   11 +++++++++++
 devel/gobject-introspection/DETAILS |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/devel/gobject-introspection/BUILD b/devel/gobject-introspection/BUILD
new file mode 100644
index 0000000..4d15225
--- /dev/null
+++ b/devel/gobject-introspection/BUILD
@@ -0,0 +1,11 @@
+(
+
+  if [ "`lvu version Python`" == "2.7" ]; then
+#bug report link http://bugzilla-attachments.gnome.org/attachment.cgi?id=166409
+    sedit "s:with LibtoolImporter:with LibtoolImporter(None,None):" giscanner/xmlwriter.py 
+    sedit "s:with LibtoolImporter:with LibtoolImporter(None,None):" giscanner/sourcescanner.py 
+  fi &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/devel/gobject-introspection/DETAILS b/devel/gobject-introspection/DETAILS
index e35db82..814b7f7 100644
--- a/devel/gobject-introspection/DETAILS
+++ b/devel/gobject-introspection/DETAILS
@@ -8,7 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
          ENTERED=20091003
          UPDATED=20100903
            SHORT="Generate interface introspection data for GObject libraries"
-cat << EOF
+cat <<EOF
 GObject Introspection is a project for providing machine readable
 introspection data of the API of C libraries. This introspection data
 can be used in several different use cases, for example automatic code


More information about the Lunar-commits mailing list