mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python-dbusmock: use real introspection instead on legacy pygobject
The patch that switches to pygobject can be now dropped, because real introspection is provided in oe-core. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
This commit is contained in:
parent
a037e09155
commit
46dbbb2b66
|
|
@ -1,29 +0,0 @@
|
|||
From 29960f2fce7ab42ed0a1bf8ce96499fdb6eedf3c Mon Sep 17 00:00:00 2001
|
||||
From: Simon Busch <simon.busch@lge.com>
|
||||
Date: Tue, 25 Mar 2014 15:28:54 +0100
|
||||
Subject: [PATCH] Don't use gobject introspection for bindings
|
||||
|
||||
In our environment we're not providing the glib python bindings through
|
||||
introspection but just pygobject so we need to use the right import.
|
||||
|
||||
Signed-off-by: Simon Busch <simon.busch@lge.com>
|
||||
---
|
||||
dbusmock/__main__.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dbusmock/__main__.py b/dbusmock/__main__.py
|
||||
index 44b63fb..bfd089c 100644
|
||||
--- a/dbusmock/__main__.py
|
||||
+++ b/dbusmock/__main__.py
|
||||
@@ -51,7 +51,7 @@ def parse_args():
|
||||
|
||||
if __name__ == '__main__':
|
||||
import dbus.mainloop.glib
|
||||
- from gi.repository import GLib
|
||||
+ import glib as GLib
|
||||
|
||||
args = parse_args()
|
||||
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
|
|
@ -14,7 +14,6 @@ SRC_URI[md5sum] = "7370d325c4a75494dd71885ca65b79e8"
|
|||
SRC_URI[sha256sum] = "03aadc93bdc26ea18d4d78fcff7b6cb34f4e18623bc5cc41cf9539d663cee11e"
|
||||
|
||||
SRC_URI += " \
|
||||
file://0001-Don-t-use-gobject-introspection-for-bindings.patch \
|
||||
file://0001-Add-functionality-to-add-own-objects-to-internal-obj.patch \
|
||||
file://0002-Add-possibility-to-import-templates-from-packages.patch \
|
||||
"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user