summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--import-layers/meta-virtualization/recipes-devtools/python/python-gevent-websocket_0.10.1.bb22
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/phosphor-gevent.bb2
-rw-r--r--meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest.bb5
3 files changed, 28 insertions, 1 deletions
diff --git a/import-layers/meta-virtualization/recipes-devtools/python/python-gevent-websocket_0.10.1.bb b/import-layers/meta-virtualization/recipes-devtools/python/python-gevent-websocket_0.10.1.bb
new file mode 100644
index 000000000..930ec3a99
--- /dev/null
+++ b/import-layers/meta-virtualization/recipes-devtools/python/python-gevent-websocket_0.10.1.bb
@@ -0,0 +1,22 @@
+HOMEPAGE = "https://bitbucket.org/noppo/gevent-websocket"
+SUMMARY = "A websocket library for gevent Python networking library"
+DESCRIPTION = "\
+ WebSocket is a computer communications protocol, providing full-duplex \
+ communication channels over a single TCP connection. gevent-websocket \
+ library provides websocket support for gevent. \
+ "
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5aa2f1d4ea55d60497aa8c3debf29ab2"
+
+RDEPENDS_${PN} = "python-gevent"
+
+SRCNAME = "gevent-websocket"
+
+SRC_URI = "https://pypi.python.org/packages/98/d2/6fa19239ff1ab072af40ebf339acd91fb97f34617c2ee625b8e34bf42393/gevent-websocket-${PV}.tar.gz"
+SRC_URI[md5sum] = "e095bf3358175489a956949c1b4de9ff"
+SRC_URI[sha256sum] = "7eaef32968290c9121f7c35b973e2cc302ffb076d018c9068d2f5ca8b2d85fb0"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-gevent.bb b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-gevent.bb
index ee24a1339..4301e6b83 100644
--- a/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-gevent.bb
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-gevent.bb
@@ -14,6 +14,8 @@ RPROVIDES_${PN} += "virtual-obmc-wsgihost"
RDEPENDS_${PN} += " \
python-gevent \
"
+RRECOMMENDS_${PN} += "python-gevent-websocket"
+
S = "${WORKDIR}/git/servers/gevent"
diff --git a/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest.bb b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest.bb
index 6361f2598..a1a8cfdd4 100644
--- a/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest.bb
+++ b/meta-phosphor/common/recipes-phosphor/interfaces/phosphor-rest.bb
@@ -9,7 +9,10 @@ inherit obmc-phosphor-discovery-service
require phosphor-rest.inc
-RRECOMMENDS_${PN} += "virtual-obmc-wsgihost"
+RRECOMMENDS_${PN} += " \
+ virtual-obmc-wsgihost \
+ python-gevent-websocket \
+ "
RDEPENDS_${PN} += " \
python-xml \