[oe] [meta-python][PATCH] python-pydbus: add new recipe

Johannes Pointner johannes.pointner at br-automation.com
Tue Oct 31 13:09:08 UTC 2017


python-pydbus is a pythonic DBus library, which is one of the mentioned replacement of the
deprecated python-dbus library (https://www.freedesktop.org/wiki/Software/DBusBindings)

Signed-off-by: Johannes Pointner <johannes.pointner at br-automation.com>
---
 meta-python/recipes-devtools/python/python-pydbus.inc       | 11 +++++++++++
 meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb |  2 ++
 3 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pydbus.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb

diff --git a/meta-python/recipes-devtools/python/python-pydbus.inc b/meta-python/recipes-devtools/python/python-pydbus.inc
new file mode 100644
index 000000000..0773b7ff8
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pydbus.inc
@@ -0,0 +1,11 @@
+DESCRIPTION = "Pythonic DBus library"
+HOMEPAGE = "https://pypi.python.org/pypi/pydbus/"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a916467b91076e631dd8edb7424769c7"
+
+SRC_URI[md5sum] = "c6abd44862322679bd4e907bebc3e0d0"
+SRC_URI[sha256sum] = "4207162eff54223822c185da06c1ba8a34137a9602f3da5a528eedf3f78d0f2c"
+
+S = "${WORKDIR}/pydbus-${PV}"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-pygobject"
diff --git a/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb
new file mode 100644
index 000000000..1722a80cd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pydbus_0.6.0.bb
@@ -0,0 +1,2 @@
+require python-pydbus.inc
+inherit pypi setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
new file mode 100644
index 000000000..7ed1c63b6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
@@ -0,0 +1,2 @@
+require python-pydbus.inc
+inherit pypi setuptools3
-- 
2.14.3





More information about the Openembedded-devel mailing list