From 40abc007cb662a7833d3c0d4074c47dc9aff3d4e Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 2 Jan 2011 11:08:52 +0100 Subject: gobject-introspection#0.10.0-2, correction python --- extra/gobject-introspection/Pkgfile | 7 +++++-- .../gobject-introspection-python2.7.patch | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 extra/gobject-introspection/gobject-introspection-python2.7.patch (limited to 'extra') diff --git a/extra/gobject-introspection/Pkgfile b/extra/gobject-introspection/Pkgfile index bbaaa690a..ea84112eb 100644 --- a/extra/gobject-introspection/Pkgfile +++ b/extra/gobject-introspection/Pkgfile @@ -6,12 +6,15 @@ name=gobject-introspection version=0.10.0 -release=1 +release=2 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) + build() { cd $name-$version - ./configure --prefix=/usr + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr + make make DESTDIR=$PKG install rm -rf $PKG/usr/share/gtk-doc diff --git a/extra/gobject-introspection/gobject-introspection-python2.7.patch b/extra/gobject-introspection/gobject-introspection-python2.7.patch new file mode 100644 index 000000000..c8af780f8 --- /dev/null +++ b/extra/gobject-introspection/gobject-introspection-python2.7.patch @@ -0,0 +1,22 @@ +--- gobject-introspection-0.9.0/giscanner/xmlwriter.py~ 2009-09-17 10:53:45.000000000 +0200 ++++ gobject-introspection-0.9.0/giscanner/xmlwriter.py 2010-07-08 15:36:27.702842362 +0200 +@@ -67,7 +67,7 @@ + return attr_value + + +-with LibtoolImporter: ++with LibtoolImporter(None, None): + from giscanner._giscanner import collect_attributes + + +--- gobject-introspection-0.9.0/giscanner/sourcescanner.py~ 2010-06-29 15:35:09.000000000 +0200 ++++ gobject-introspection-0.9.0/giscanner/sourcescanner.py 2010-07-08 15:40:05.096144193 +0200 +@@ -196,7 +196,7 @@ + class SourceScanner(object): + + def __init__(self): +- with LibtoolImporter: ++ with LibtoolImporter(None, None): + from giscanner._giscanner import SourceScanner + self._scanner = SourceScanner() + self._filenames = [] -- cgit v1.2.3-70-g09d2