diff options
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb new file mode 100644 index 0000000000..a151d6db4e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nanobind_2.4.0.bb | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | SUMMARY = "nanobind: tiny and efficient C++/Python bindings" | ||
| 2 | DESCRIPTION = "nanobind: tiny and efficient C++/Python bindings" | ||
| 3 | HOMEPAGE = "https://github.com/wjakob/nanobind" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "a0392dee5f58881085b2ac8bfe8e53f74285aa4868b1472bfaf76cfb414e1c96" | ||
| 8 | |||
| 9 | inherit pypi python_setuptools_build_meta cmake lib_package | ||
| 10 | |||
| 11 | EXTRA_OECMAKE += "-DNB_TEST=OFF" | ||
| 12 | |||
| 13 | DEPENDS += "\ | ||
| 14 | python3-scikit-build-native \ | ||
| 15 | python3-scikit-build-core-native \ | ||
| 16 | ninja-native \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -d ${D}${base_libdir}/cmake/${PN} | ||
| 21 | install -m 0644 ${S}/cmake/* ${D}${base_libdir}/cmake/${PN}/ | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*" | ||
| 25 | |||
| 26 | BBCLASSEXTEND = "native nativesdk" | ||
