diff mbox series

[meta-tensorflow,4/14] python3-optree: add recipe 0.19.0

Message ID 20260325021719.1526525-5-hongxu.jia@windriver.com
State New
Headers show
Series Upgrade tensorflow from 2.19.0 to 2.21.0 | expand

Commit Message

Hongxu Jia March 25, 2026, 2:17 a.m. UTC
It is required by tensorflow and keras

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../python/python3-optree_0.19.0.bb           | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 recipes-devtools/python/python3-optree_0.19.0.bb
diff mbox series

Patch

diff --git a/recipes-devtools/python/python3-optree_0.19.0.bb b/recipes-devtools/python/python3-optree_0.19.0.bb
new file mode 100644
index 0000000..511a339
--- /dev/null
+++ b/recipes-devtools/python/python3-optree_0.19.0.bb
@@ -0,0 +1,21 @@ 
+SUMMARY = "Optimized PyTree Utilities."
+HOMEPAGE = "https://github.com/metaopt/optree"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=936b16b5b0a197fc3bb914f69ebc8e31"
+
+SRC_URI[sha256sum] = "bc1991a948590756409e76be4e29efd4a487a185056d35db6c67619c19ea27a1"
+
+inherit pypi python_setuptools_build_meta
+
+DEPENDS += " \
+    python3-pybind11-native \
+"
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "optree"
+
+INSANE_SKIP:${PN} += " \
+    already-stripped \
+"
+
+BBCLASSEXTEND = "native"