[oe-commits] [meta-openembedded] 33/42: python-dbusmock: use real introspection instead on legacy pygobject

git at git.openembedded.org git at git.openembedded.org
Wed Mar 9 19:14:04 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit a38ef9a174f4de78b3b84a9e349f699e0cce0338
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Mon Feb 22 19:40:12 2016 +0200

    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 at linux.intel.com>
---
 ...-t-use-gobject-introspection-for-bindings.patch | 29 ----------------------
 .../python/python-dbusmock_0.10.1.bb               |  1 -
 2 files changed, 30 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 f3ab53c..0000000
--- a/meta-python/recipes-devtools/python/python-dbusmock/0001-Don-t-use-gobject-introspection-for-bindings.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 29960f2fce7ab42ed0a1bf8ce96499fdb6eedf3c Mon Sep 17 00:00:00 2001
-From: Simon Busch <simon.busch at 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 at 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
-
diff --git a/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb b/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb
index b247943..2520bfc 100644
--- a/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb
+++ b/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb
@@ -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 \
 "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list