diff mbox series

[1/2] python3-websockets: Import from meta-python

Message ID 20240412110837.2253822-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [1/2] python3-websockets: Import from meta-python | expand

Commit Message

Richard Purdie April 12, 2024, 11:08 a.m. UTC
For the newer hash equivlance servers we need websockets. Import it
from meta-oe so we can easily include it in buildtools tarball.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../python/python3-websockets_12.0.bb            | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-websockets_12.0.bb

Comments

Khem Raj April 12, 2024, 2:05 p.m. UTC | #1
we need a patch to remove it from meta-python at same time

On Fri, Apr 12, 2024 at 4:08 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> For the newer hash equivlance servers we need websockets. Import it
> from meta-oe so we can easily include it in buildtools tarball.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/conf/distro/include/maintainers.inc         |  1 +
>  .../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 2d1f9fdec55..20eb3a04468 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 <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield <bruce.ashfield@gmail.com>"
>  RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-webcolors = "Bruce Ashfield <bruce.ashfield@gmail.com>"
> +RECIPE_MAINTAINER:pn-python3-websockets = "Tim Orling <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-wheel = "Tim Orling <tim.orling@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-xmltodict = "Leon Anavi <leon.anavi@konsulko.com>"
>  RECIPE_MAINTAINER:pn-python3-yamllint = "Tim Orling <tim.orling@konsulko.com>"
> 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 00000000000..f89c3b629ee
> --- /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 \
> +"
> --
> 2.40.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#198163): https://lists.openembedded.org/g/openembedded-core/message/198163
> Mute This Topic: https://lists.openembedded.org/mt/105480053/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Richard Purdie April 13, 2024, 11:38 a.m. UTC | #2
On Fri, 2024-04-12 at 07:05 -0700, Khem Raj wrote:
> we need a patch to remove it from meta-python at same time

I was testing this was all we needed and went to create one now I've
confirmed that but I see you have one in master-next. Let me know if
you need anything.

Cheers,

Richard
Khem Raj April 13, 2024, 4:43 p.m. UTC | #3
On Sat, Apr 13, 2024 at 4:38 AM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Fri, 2024-04-12 at 07:05 -0700, Khem Raj wrote:
> > we need a patch to remove it from meta-python at same time
>
> I was testing this was all we needed and went to create one now I've
> confirmed that but I see you have one in master-next. Let me know if
> you need anything.


I think we are fine for now with that


>
> Cheers,
>
> Richard
>
diff mbox series

Patch

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 2d1f9fdec55..20eb3a04468 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 <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-vcversioner = "Bruce Ashfield <bruce.ashfield@gmail.com>"
 RECIPE_MAINTAINER:pn-python3-wcwidth = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-webcolors = "Bruce Ashfield <bruce.ashfield@gmail.com>"
+RECIPE_MAINTAINER:pn-python3-websockets = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-wheel = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-xmltodict = "Leon Anavi <leon.anavi@konsulko.com>"
 RECIPE_MAINTAINER:pn-python3-yamllint = "Tim Orling <tim.orling@konsulko.com>"
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 00000000000..f89c3b629ee
--- /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 \
+"