Skip to contentSkip to conversation

python3-websockets: Add new recipe for v4.0.1 version

PATCH In review Krzysztof Kozlowski 2 participants 3 messages Apr 11, 2018 – Apr 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-websockets: Add new recipe for v4.0.1 version

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.

---
 .../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
meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb new file +16 -0
new file mode 100644
index 000000000000..414129c59d2f
@@ -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 \
+"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 26 lines · Krzysztof Kozlowski

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.

---
  .../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

meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb new file +6 -0
new file mode 100644
index 000000000000..414129c59d2f
@@ -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"
+

meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb line 16

Quoted 10 lines
meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb new file +10 -0
+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

#2 lore raw
Quoted 49 lines · Khem Raj
Quoted 36 lines · Krzysztof Kozlowski

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.

---
  .../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

meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb new file +10 -0
@@ -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"

meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb line 16

Quoted 6 lines
meta-python/recipes-devtools/python/python3-websockets_4.0.1.bb new file +6 -0
+
+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.

Quoted 3 lines

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

Sure, let me CC them here (+Cc Paul Barrette and Pascal Bach) unless there is a need for resend?

Best regards,
Krzysztof