[oe] [meta-python][PATCH] python3-websockets: Add new recipe for v4.0.1 version

Khem Raj raj.khem at gmail.com
Sat Apr 14 00:01:34 UTC 2018



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 <krzk at 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




More information about the Openembedded-devel mailing list