diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-02-22 19:40:12 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-03-14 12:15:34 +0100 |
| commit | 46dbbb2b66ed7cd51f89c71c46ceee83fcc462fc (patch) | |
| tree | 4d7394d7d2c4e4787a29d5a57a71e0881216f0db /meta-python/recipes-devtools/python/python-dbusmock | |
| parent | a037e09155cc91f0c0a3971431d088a18523c16f (diff) | |
| download | meta-openembedded-46dbbb2b66ed7cd51f89c71c46ceee83fcc462fc.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-dbusmock')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-dbusmock/0001-Don-t-use-gobject-introspection-for-bindings.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta-python/recipes-devtools/python/python-dbusmock/0001-Don-t-use-gobject-introspection-for-bindings.patch b/meta-python/recipes-devtools/python/python-dbusmock/0001-Don-t-use-gobject-introspection-for-bindings.patch deleted file mode 100644 index f3ab53c546..0000000000 --- a/meta-python/recipes-devtools/python/python-dbusmock/0001-Don-t-use-gobject-introspection-for-bindings.patch +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | From 29960f2fce7ab42ed0a1bf8ce96499fdb6eedf3c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Busch <simon.busch@lge.com> | ||
| 3 | Date: Tue, 25 Mar 2014 15:28:54 +0100 | ||
| 4 | Subject: [PATCH] Don't use gobject introspection for bindings | ||
| 5 | |||
| 6 | In our environment we're not providing the glib python bindings through | ||
| 7 | introspection but just pygobject so we need to use the right import. | ||
| 8 | |||
| 9 | Signed-off-by: Simon Busch <simon.busch@lge.com> | ||
| 10 | --- | ||
| 11 | dbusmock/__main__.py | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/dbusmock/__main__.py b/dbusmock/__main__.py | ||
| 15 | index 44b63fb..bfd089c 100644 | ||
| 16 | --- a/dbusmock/__main__.py | ||
| 17 | +++ b/dbusmock/__main__.py | ||
| 18 | @@ -51,7 +51,7 @@ def parse_args(): | ||
| 19 | |||
| 20 | if __name__ == '__main__': | ||
| 21 | import dbus.mainloop.glib | ||
| 22 | - from gi.repository import GLib | ||
| 23 | + import glib as GLib | ||
| 24 | |||
| 25 | args = parse_args() | ||
| 26 | dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) | ||
| 27 | -- | ||
| 28 | 1.7.9.5 | ||
| 29 | |||
