From 50f6252da97c1bfb4020e95211c89c0723045728 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 18 Dec 2025 17:03:40 +0800 Subject: python3-nanobind: upgrade 2.9.2 -> 2.10.2 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-nanobind_2.10.2.bb | 27 ++++++++++++++++++++++ .../python/python3-nanobind_2.9.2.bb | 27 ---------------------- 2 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb delete mode 100644 meta-python/recipes-devtools/python/python3-nanobind_2.9.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb new file mode 100644 index 0000000000..12b7ff5133 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.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] = "08509910ce6d1fadeed69cb0880d4d4fcb77739c6af9bd8fb4419391a3ca4c6b" + +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" diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.9.2.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.9.2.bb deleted file mode 100644 index cfbe9cea66..0000000000 --- a/meta-python/recipes-devtools/python/python3-nanobind_2.9.2.bb +++ /dev/null @@ -1,27 +0,0 @@ -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] = "e7608472de99d375759814cab3e2c94aba3f9ec80e62cfef8ced495ca5c27d6e" - -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