From ebb235e098d8c0f1970e5d8a550f928bcbda30b4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 12 Apr 2024 10:01:38 +0100 Subject: python3-websockets: Import from meta-python For the newer hash equivlance servers we need websockets. Import it from meta-oe so we can easily include it in buildtools tarball. (From OE-Core rev: 5f1c8448f67792ceda8698dd775a360ff8294126) Signed-off-by: Richard Purdie --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-devtools/python/python3-websockets_12.0.bb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-websockets_12.0.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 2d1f9fdec5..20eb3a0446 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -729,6 +729,7 @@ RECIPE_MAINTAINER:pn-python3-urllib3 = "Tim Orling " RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield " RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling " RECIPE_MAINTAINER:pn-python3-webcolors = "Bruce Ashfield " +RECIPE_MAINTAINER:pn-python3-websockets = "Tim Orling " RECIPE_MAINTAINER:pn-python3-wheel = "Tim Orling " RECIPE_MAINTAINER:pn-python3-xmltodict = "Leon Anavi " RECIPE_MAINTAINER:pn-python3-yamllint = "Tim Orling " diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb new file mode 100644 index 0000000000..f89c3b629e --- /dev/null +++ b/meta/recipes-devtools/python/python3-websockets_12.0.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=51924a6af4495b8cfaee1b1da869b6f4" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "81df9cbcbb6c260de1e007e58c011bfebe2dafc8435107b0537f393dd38c8b1b" + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN} = " \ + python3-asyncio \ + python3-profile \ +" -- cgit v1.2.3-54-g00ecf