Patchwork cloudeebus recipe (v0.6.0)

login
register
mail settings
Submitter Frederic PAUT
Date Oct. 2, 2013, 3:02 p.m.
Message ID <1380726120-29331-1-git-send-email-frederic.paut@linux.intel.com>
Download mbox | patch
Permalink /patch/59187/
State Superseded, archived
Headers show

Comments

Frederic PAUT - Oct. 2, 2013, 3:02 p.m.
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.
---
 .../recipes-devtools/python/cloudeebus_0.6.0.bb    |   42 ++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/python/cloudeebus_0.6.0.bb

Patch

diff --git a/meta-oe/recipes-devtools/python/cloudeebus_0.6.0.bb b/meta-oe/recipes-devtools/python/cloudeebus_0.6.0.bb
new file mode 100644
index 0000000..0bb3668
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/cloudeebus_0.6.0.bb
@@ -0,0 +1,42 @@ 
+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"
+
+DEPENDS += " python"
+
+SRC_URI = "\
+  git://github.com/01org/cloudeebus.git;protocol=http;branch=master \
+"
+SRCREV = "b5cc957eeabfe98cb996baf8e5a0ac848993c3d4"
+
+DEPENDS_${PN} = "python python-setuptools"
+RDEPENDS_${PN} = "python python-dbus python-json python-argparse python-pygobject python-autobahn python-twisted python-subprocess"
+
+
+S = "${WORKDIR}/git"
+
+inherit distutils 
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --single-version-externally-managed \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
+
+do_install_prepend() {
+  install -d ${D}${PYTHON_SITEPACKAGES_DIR}/${PN}
+}
+
+do_install() {
+
+  distutils_do_install
+
+  install -d ${D}${datadir}/doc/${BPN}/
+  install -m 0644 ${S}/README.md ${D}${datadir}/doc/${BPN}/
+}
+
+FILES_${PN} += "${datadir}/${BPN}"
+FILES_${PN} += "${sysconfdir}/dbus-1/system.d/org.cloudeebus.conf"
+