xref: /openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb (revision eaae0b339f806200d8722cb09e5e3b83c15a5956)
1SUMMARY = "nanobind: tiny and efficient C++/Python bindings"
2DESCRIPTION = "nanobind: tiny and efficient C++/Python bindings"
3HOMEPAGE = "https://github.com/wjakob/nanobind"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c"
6
7SRC_URI[sha256sum] = "f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34"
8
9inherit pypi python_setuptools_build_meta cmake lib_package
10
11EXTRA_OECMAKE += "-DNB_TEST=OFF"
12
13DEPENDS += "\
14    python3-scikit-build-native \
15    python3-scikit-build-core-native \
16    ninja-native \
17"
18
19do_install:append() {
20    install -d ${D}${base_libdir}/cmake/${PN}
21    install -m 0644 ${S}/cmake/* ${D}${base_libdir}/cmake/${PN}/
22}
23
24FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*"
25
26BBCLASSEXTEND = "native nativesdk"
27