meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb
Wang Mingyu 7967c3ba46
python3-nanobind: upgrade 2.6.1 -> 2.7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-23 19:35:06 -07:00

27 lines
822 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] = "f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34"
inherit pypi python_setuptools_build_meta cmake lib_package
EXTRA_OECMAKE += "-DNB_TEST=OFF"
DEPENDS += "\
python3-scikit-build-native \
python3-scikit-build-core-native \
ninja-native \
"
do_install:append() {
install -d ${D}${base_libdir}/cmake/${PN}
install -m 0644 ${S}/cmake/* ${D}${base_libdir}/cmake/${PN}/
}
FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*"
BBCLASSEXTEND = "native nativesdk"