On 4/11/18 2:51 AM, Krzysztof Kozlowski wrote:
Add recipe for python3-websockets v4.0.1.  Strictly speaking the package
does not require asyncio but instead builds on top of it and it is
essential for any work.

Make this recipe a native one to allow usage for example in image tests
as a websocket client talking to a device under test.

Signed-off-by: Krzysztof Kozlowski <k...@kernel.org>
---
  .../recipes-devtools/python/python3-websockets_4.0.1.bb  | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)
  create mode 100644 
meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb

diff --git a/meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb 
b/meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb
new file mode 100644
index 000000000000..414129c59d2f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb
@@ -0,0 +1,16 @@
+SUMMARY = "An implementation of the WebSocket Protocol (RFC 6455)"
+HOMEPAGE = "https://github.com/aaugustin/websockets";
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5070256738c06d2e59adbec1f4057dac"
+
+inherit pypi setuptools3
+
+SRC_URI[md5sum] = "9e8c6b3c70def4146d75fbb0f52bdfc7"
+SRC_URI[sha256sum] = 
"da4d4fbe059b0453e726d6d993760065d69b823a27efc3040402a6fcfe6a1ed9"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-asyncio \
+"


There are recipes in other layers whose maintainers should be CCed as well so they know its moving to a more common layer.

https://github.com/Wind-River/meta-device-cloud/blob/master/recipes-devtools/python/python3-websockets_3.3.bb

https://github.com/bachp/meta-homeassistant/blob/master/recipes-devtools/python/python3-websockets_3.2.bb

--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to