python-pygtk: unbreak
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4270 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
e5e8dd3d9b
commit
6a87048652
|
@ -8,7 +8,7 @@ Index: pygtk-2.10.4/gtk/__init__.py
|
||||||
|
|
||||||
-_init()
|
-_init()
|
||||||
+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
|
+if not hasattr(sys.modules['__main__'], 'python_launcher_enabled'):
|
||||||
+ init()
|
+ _init()
|
||||||
|
|
||||||
# CAPI
|
# CAPI
|
||||||
_PyGtk_API = _gtk._PyGtk_API
|
_PyGtk_API = _gtk._PyGtk_API
|
||||||
|
|
|
@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
|
||||||
PROVIDES = "python-pygtk2"
|
PROVIDES = "python-pygtk2"
|
||||||
SRCNAME = "pygtk"
|
SRCNAME = "pygtk"
|
||||||
LICENSE = "LGPL"
|
LICENSE = "LGPL"
|
||||||
PR = "ml7"
|
PR = "ml8"
|
||||||
|
|
||||||
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
|
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
|
||||||
file://fix-gtkunixprint.patch;patch=1 \
|
file://fix-gtkunixprint.patch;patch=1 \
|
||||||
|
|
Loading…
Reference in New Issue