python-cloudeebus: Add recipe vor 0.6.0
authorFrederic PAUT <frederic.paut@linux.intel.com>
Thu, 3 Oct 2013 13:32:55 +0000 (13:32 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:33:42 +0000 (08:33 -0800)
Cloudeebus, D-Bus for the cloud, is a component that provides
D-Bus proxies for JavaScript. Unlike a web runtime, it doesn't
rely on any custom web browser API, but on HTML5 WebSockets and
python D-Bus bindings.
Cloudeebus can be used as a web API fast prototyping tool.

(From meta-openembedded rev: 9142d13a68045e3f483a4651b570f607c3d2de20)

Signed-off-by: Frederic PAUT <frederic.paut@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb b/meta-openembedded/meta-oe/recipes-devtools/python/python-cloudeebus_0.6.0.bb
new file mode 100644 (file)
index 0000000..5c1fa9c
--- /dev/null
@@ -0,0 +1,35 @@
+DESCRIPTION = "A component which enables calling DBus methods and registering on DBus signals from Javascript"
+HOMEPAGE = "https://github.com/01org/cloudeebus"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SRC_URI = "git://github.com/01org/cloudeebus.git;protocol=http;branch=master "
+SRCREV = "b5cc957eeabfe98cb996baf8e5a0ac848993c3d4"
+
+S = "${WORKDIR}/git"
+
+inherit distutils 
+
+DEPENDS_${PN} = "python python-setuptools"
+RDEPENDS_${PN} = "python python-dbus python-json python-argparse python-pygobject python-autobahn python-twisted python-subprocess"
+
+do_install_prepend() {
+  install -d ${D}${PYTHON_SITEPACKAGES_DIR}/${PN}
+}
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --single-version-externally-managed \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
+
+do_install_append() {
+  distutils_do_install
+  install -d ${D}${datadir}/doc/${BPN}/
+  install -m 0644 ${S}/README.md ${D}${datadir}/doc/${BPN}/
+}
+
+FILES_${PN} += "${datadir}/cloudeebus"
+FILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.cloudeebus.conf"
+