meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb
Wang Mingyu 50f6252da9
python3-nanobind: upgrade 2.9.2 -> 2.10.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-21 08:54:03 -08:00

28 lines
847 B
BlitzBasic

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"