From 1698357b41fc287413d7e8bbc7ba10cb2158760f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 12 Mar 2026 18:51:58 +0800 Subject: python3-nanobind: upgrade 2.11.0 -> 2.12.0 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-nanobind_2.12.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb (limited to 'meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb new file mode 100644 index 0000000000..58dbb30c84 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "nanobind: tiny and efficient C++/Python bindings" +DESCRIPTION = "nanobind: tiny and efficient C++/Python bindings" +HOMEPAGE = "https://github.com/wjakob/nanobind" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" + +SRC_URI[sha256sum] = "0ae77c1a88f27153fa57045ee00f7b0a7b06b1cd3df942e95a34b38c5d0a5bee" + +inherit pypi cmake python_setuptools_build_meta + +EXTRA_OECMAKE += "-DNB_TEST=OFF" + +DEPENDS += "\ + python3-cmake-native \ + python3-scikit-build-native \ + python3-scikit-build-core-native \ + ninja-native \ +" + +do_install:append() { + install -d ${D}${libdir}/cmake/${PYPI_PACKAGE} + install -m 0644 ${S}/cmake/* ${D}${libdir}/cmake/${PYPI_PACKAGE}/ +} + +FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf