[oe] [meta-python][PATCH] python-dbusmock: update to version 0.16.6 and update required RDEPENDS

Derek Straka derek at asterius.io
Fri Jul 15 19:05:50 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 ...n-dbusmock_0.10.1.bb => python-dbusmock_0.16.6.bb} | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)
 rename meta-python/recipes-devtools/python/{python-dbusmock_0.10.1.bb => python-dbusmock_0.16.6.bb} (57%)

diff --git a/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb b/meta-python/recipes-devtools/python/python-dbusmock_0.16.6.bb
similarity index 57%
rename from meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb
rename to meta-python/recipes-devtools/python/python-dbusmock_0.16.6.bb
index 2520bfc..4b3d201 100644
--- a/meta-python/recipes-devtools/python/python-dbusmock_0.10.1.bb
+++ b/meta-python/recipes-devtools/python/python-dbusmock_0.16.6.bb
@@ -2,20 +2,25 @@
 
 SUMMARY = "With this program/Python library you can easily create mock objects on D-Bus"
 AUTHOR = "Martin Pitt <martin.pitt at ubuntu.com>"
-SECTION = "devel/python"
 
 LICENSE = "GPL-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-DEPENDS += "python-pygobject python-dbus"
-
-SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BP}.tar.gz"
-SRC_URI[md5sum] = "7370d325c4a75494dd71885ca65b79e8"
-SRC_URI[sha256sum] = "03aadc93bdc26ea18d4d78fcff7b6cb34f4e18623bc5cc41cf9539d663cee11e"
+SRC_URI[md5sum] = "6af369964653098f2cd5e7c4e060a533"
+SRC_URI[sha256sum] = "87c551030369005a6c818d9f27e931090bff837e70af060b65281e9ea77108cf"
 
 SRC_URI += " \
     file://0001-Add-functionality-to-add-own-objects-to-internal-obj.patch \
     file://0002-Add-possibility-to-import-templates-from-packages.patch \
 "
 
-inherit setuptools
+PYPI_PACKAGE = "python-dbusmock"
+
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-dbus \
+    ${PYTHON_PN}-importlib \
+    ${PYTHON_PN}-pygobject \
+    ${PYTHON_PN}-xml \
+    "
-- 
1.9.1




More information about the Openembedded-devel mailing list