[meta-zephyr][PATCH v4] west: Add west and python dependencies


Eilís Ní Fhlannagáin
 

From: Eilís Ní Fhlannagáin <elizabeth.flanagan@...>

We will need west for a few things.

First, west knows about all the boards supported, so for automatic
machine generation, we will need to be able to run west boards.

Secondly, I want to get rid of the dependance on MACHINEOVERRIDES in
machine definition files. One of the things that drives me a bit mad
about how we're doing this is effort replication. Zephyr knows what the
machine is, and modules needed and includes. We shouldn't need to
replicate that effort. Future patches will address that through
automatic machine generation.

Signed-off-by: Eilís Ní Fhlannagáin <elizabeth.flanagan@...>
---
.../python/python3-anytree_2.8.0.bb | 14 ++++++++++++
.../python/python3-breathe_4.31.0.bb | 17 ++++++++++++++
.../python/python3-canopen_1.2.1.bb | 17 ++++++++++++++
.../python/python3-cbor_1.0.0.bb | 19 ++++++++++++++++
.../python/python3-colorama_0.4.4.bb | 16 --------------
.../python/python3-gitlint_0.15.1.bb | 14 ++++++++++++
.../python/python3-imgtool_1.7.2.bb | 14 ++++++++++++
.../python/python3-intelhex_2.3.0.bb | 12 ----------
.../python/python3-junithtml_30.0.4.bb | 14 ++++++++++++
.../python/python3-junitparser_2.1.1.bb | 14 ++++++++++++
.../python/python3-packaging_21.0.bb | 14 ++++++++++++
.../python/python3-pyelftools_0.27.bb | 14 ++++++++++++
.../python/python3-pygithub_1.55.bb | 14 ++++++++++++
.../python/python3-pygments_2.10.0.bb | 15 +++++++++++++
.../recipes-devtools/python/python3-pylink | 11 ++++++++++
.../python/python3-pyocd_0.32.0.bb | 14 ++++++++++++
.../python/python3-pyparsing_2.4.7.bb | 14 ++++++++++++
.../python/python3-sphinx_4.2.0.bb | 14 ++++++++++++
.../recipes-devtools/west/west_0.12.99.bb | 22 +++++++++++++++++++
19 files changed, 255 insertions(+), 28 deletions(-)
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-colorama_0.4.4.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-imgtool_1.7.2.bb
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-intelhex_2.3.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.0.4.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-junitparser_2.1.1.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-packaging_21.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pyelftools_0.27.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pygments_2.10.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pylink
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pyparsing_2.4.7.bb
create mode 100644 meta-zephyr-core/recipes-devtools/python/python3-sphinx_4.2.0.bb
create mode 100644 meta-zephyr-core/recipes-devtools/west/west_0.12.99.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb
new file mode 100644
index 0000000..a19c998
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python anytree"
+DESCRIPTION = "Powerful and Lightweight Python Tree Data Structure"
+HOMEPAGE = "https://pypi.org/project/anytree"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "anytree"
+SRC_URI[md5sum] = "25ef3e656ad16a2a6b6c187807da7e5f"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.bb
new file mode 100644
index 0000000..4389d20
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.bb
@@ -0,0 +1,17 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python breathe"
+DESCRIPTION = "Breathe is an extension to reStructuredText and Sphinx to be \
+ able to read and render Doxygen xml output."
+HOMEPAGE = "https://pypi.org/project/breathe"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9e49eecf36fc015de7c61a0247df75d6"
+
+inherit pypi setuptools3
+
+DEPENDS = "python3-sphinx-native python3-docutils-native python3-pygments-native python3-babel-native python3-jinja2-native python3-distro-native"
+PYPI_PACKAGE = "breathe"
+SRC_URI[md5sum] = "33a86368215dbcb59e5c71687f6b228b"
+SRC_URI[sha256sum] = "925eeff96c6640cd857e4ddeae6f75464a1d5e2e08ee56dccce4043583ae2050"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb
new file mode 100644
index 0000000..0608199
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb
@@ -0,0 +1,17 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python canopen"
+DESCRIPTION = "A Python implementation of the CANopen standard. The aim of \
+ the project is to support the most common parts of the CiA \
+ 301 standard in a simple Pythonic interface."
+HOMEPAGE = "https://pypi.org/project/canopen"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97f135a6ee6f800c377b5512122c7a8d"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "canopen"
+SRC_URI[md5sum] = "da37dcf725e774385f05f05e04ca54a0"
+SRC_URI[sha256sum] = "18d01d56ff0023795cb336cafd4810a76cf402b98b42139b201fa8c5d4ba8c06"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb
new file mode 100644
index 0000000..9e240f0
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb
@@ -0,0 +1,19 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python cbor"
+DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object \
+ Representation (CBOR). \
+ CBOR is comparable to JSON, has a superset of JSON’s ability, \
+ but serializes to a binary format which is smaller and faster \
+ to generate and parse."
+HOMEPAGE = "https://pypi.org/project/cbor"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://setup.cfg;md5=d86758afb08a60bc589dc67bfea670b2"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "cbor"
+SRC_URI[md5sum] = "22b03b59784fd78cb6c27aa498af0db6"
+SRC_URI[sha256sum] = "13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-colorama_0.4.4.bb b/meta-zephyr-core/recipes-devtools/python/python3-colorama_0.4.4.bb
deleted file mode 100644
index 67b8d52..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-colorama_0.4.4.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY = "Python colorama"
-HOMEPAGE = "https://pypi.org/project/colorama"
-DESCRIPTION = "Makes ANSI escape character sequences (for producing colored \
- terminal text and cursor positioning) work under MS Windows."
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4936429a56a652b84c5c01280dcaa26"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE = "colorama"
-SRC_URI[md5sum] = "57b22f2597f63df051b69906fbf310cc"
-SRC_URI[sha256sum] = "5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb
new file mode 100644
index 0000000..143e2cb
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python gitlint"
+HOMEPAGE = "https://pypi.org/project/gitlint"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ddf75221dde30f107af8595a43b4009"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "gitlint"
+SRC_URI[md5sum] = "4835bedc50129934a47cf099d906d2ca"
+SRC_URI[sha256sum] = "4b22916dcbdca381244aee6cb8d8743756cfd98f27e7d1f02e78733f07c3c21c"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-imgtool_1.7.2.bb b/meta-zephyr-core/recipes-devtools/python/python3-imgtool_1.7.2.bb
new file mode 100644
index 0000000..40d8176
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-imgtool_1.7.2.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python imgtool"
+HOMEPAGE = "https://pypi.org/project/imgtool"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://setup.cfg;md5=3f78c6150b7d619a476c799812e31d5a"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "imgtool"
+SRC_URI[md5sum] = "08fe63c644977aa8f9e6038e2067c3de"
+SRC_URI[sha256sum] = "799484f3f61e398ac4157548f309b6baa4084e464176449694ba9de7909eed6e"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-intelhex_2.3.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-intelhex_2.3.0.bb
deleted file mode 100644
index e297491..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-intelhex_2.3.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY = "Python library for Intel HEX files manipulations"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4eba844696655c3eae07aca8e3a94772"
-
-SRC_URI[sha256sum] = "892b7361a719f4945237da8ccf754e9513db32f5628852785aea108dcd250093"
-
-inherit pypi setuptools3
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.0.4.bb b/meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.0.4.bb
new file mode 100644
index 0000000..ddc34aa
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.0.4.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python junit2html"
+HOMEPAGE = "https://pypi.org/project/junit2html"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=899c50bccc6c8221c8ca0a9c7633b5b8"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "junit2html"
+SRC_URI[md5sum] = "a816cf502da0a8905f24aefab0739206"
+SRC_URI[sha256sum] = "9b3967c92142abd5fb94e2cbb938c51cc6c2689ec1c7fd348c6ba4ddab92da14"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-junitparser_2.1.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-junitparser_2.1.1.bb
new file mode 100644
index 0000000..5932e66
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-junitparser_2.1.1.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python junitparser"
+HOMEPAGE = "https://pypi.org/project/junitparser"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2d00702cde917dd61c41041bc30136dd"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "junitparser"
+SRC_URI[md5sum] = "f8704c2b18e6f4d482c62b33e141a0cb"
+SRC_URI[sha256sum] = "d54d0eaa2b15ee2efab0220ce0ab31448d26dcb78170d5667453d7755b9f1480"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-packaging_21.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-packaging_21.0.bb
new file mode 100644
index 0000000..f857224
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-packaging_21.0.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python packaging"
+HOMEPAGE = "https://pypi.org/project/packaging"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "packaging"
+SRC_URI[md5sum] = "240ba5823ed31051a1254e74c9d18d55"
+SRC_URI[sha256sum] = "7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pyelftools_0.27.bb b/meta-zephyr-core/recipes-devtools/python/python3-pyelftools_0.27.bb
new file mode 100644
index 0000000..1405fc5
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pyelftools_0.27.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python pyelftools"
+HOMEPAGE = "https://pypi.org/project/pyelftools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5ce2a2b07fca326bc7c146d10105ccfc"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pyelftools"
+SRC_URI[md5sum] = "061d67c669a9b1f8d07f28c47fb6a65f"
+SRC_URI[sha256sum] = "cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb b/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb
new file mode 100644
index 0000000..268d2b7
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python PyGithub"
+HOMEPAGE = "https://pypi.org/project/PyGithub"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=c5e8b6057f82b73046c24a30809903bd"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "PyGithub"
+SRC_URI[md5sum] = "03e5883a8d4358b0786a0db84ad56a22"
+SRC_URI[sha256sum] = "1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9d815f528f1ba7283"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pygments_2.10.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-pygments_2.10.0.bb
new file mode 100644
index 0000000..c4b63c1
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pygments_2.10.0.bb
@@ -0,0 +1,15 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python pygments"
+HOMEPAGE = "https://pypi.org/project/Pygments/"
+DESCRIPTION = "Pygments is a syntax highlighting package written in Python."
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+SRC_URI = "https://files.pythonhosted.org/packages/b7/b3/5cba26637fe43500d4568d0ee7b7362de1fb29c0e158d50b4b69e9a40422/Pygments-2.10.0.tar.gz"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "Pygments"
+SRC_URI[md5sum] = "87369a4e15019caf9cf056ab2c5858b3"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pylink b/meta-zephyr-core/recipes-devtools/python/python3-pylink
new file mode 100644
index 0000000..ddfe3ca
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pylink
@@ -0,0 +1,11 @@
+SUMMARY = "Python pylink-square"
+HOMEPAGE ="https://pypi.org/project/pylink-square"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://MANIFEST.in;md5=8aa920a7ab8eabc590a0ab6dbe1b3bf2"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pylink-square"
+SRC_URI[md5sum] = "e156ee1c73516e8b2cf52347f6c663f3"
+SRC_URI[sha256sum] = "45674112acab890483ee738bb3957e18cc6063dca763fc91283f890fb72d2f59"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb
new file mode 100644
index 0000000..bbdae6a
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python pyocd"
+HOMEPAGE = "https://pypi.org/project/pyocd"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=421492e27872cb498685e9d7649f63a2"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pyocd"
+SRC_URI[md5sum] = "25153f563a629bb2be7560e2dc23c0a8"
+SRC_URI[sha256sum] = "d5aa498130f251373ac50724be73dc2f8cf60b03c9547bddf3c140fa6555ead1"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pyparsing_2.4.7.bb b/meta-zephyr-core/recipes-devtools/python/python3-pyparsing_2.4.7.bb
new file mode 100644
index 0000000..0cb0d36
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-pyparsing_2.4.7.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Python pyparsing"
+HOMEPAGE = "https://pypi.org/project/pyparsing"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pyparsing"
+SRC_URI[md5sum] = "f0953e47a0112f7a65aec2305ffdf7b4"
+SRC_URI[sha256sum] = "c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/python/python3-sphinx_4.2.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-sphinx_4.2.0.bb
new file mode 100644
index 0000000..290fabb
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/python/python3-sphinx_4.2.0.bb
@@ -0,0 +1,14 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+DESCRIPTION = "Python documentation generator"
+HOMEPAGE = "http://sphinx-doc.org/"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause & BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=82cc7d23060a75a07b820eaaf75abecf"
+
+inherit setuptools3 pypi
+
+PYPI_PACKAGE = "Sphinx"
+SRC_URI[sha256sum] = "94078db9184491e15bce0a56d9186e0aec95f16ac20b12d00e06d4e36f1058a6"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-zephyr-core/recipes-devtools/west/west_0.12.99.bb b/meta-zephyr-core/recipes-devtools/west/west_0.12.99.bb
new file mode 100644
index 0000000..6a9f8bc
--- /dev/null
+++ b/meta-zephyr-core/recipes-devtools/west/west_0.12.99.bb
@@ -0,0 +1,22 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+SUMMARY = "Zephyr RTOS Project meta-tool"
+HOMEPAGE = "https://github.com/zephyrproject-rtos/west"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SRC_URI = "git://github.com/zephyrproject-rtos/west;protocol=https;branch=main"
+
+PV = "0.12.99"
+SRCREV = "38e656b05ea8f4c8d80b953f6d88b1ed604d11f8"
+PROVIDES = "virtual/west"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3 python3native
+
+DEPENDS_${PN} += "python3-pyyaml python3-core python3-packaging python3-colorama python3-pyparsing"
+RDEPENDS_${PN} += "python3-pyyaml python3-core python3-packaging python3-colorama python3-pyparsing"
+BBCLASSEXTEND = "native nativesdk"
+TOOLCHAIN_HOST_TASK:append = " nativesdk-west"
--
2.25.1