diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb new file mode 100644 index 0000000000..3cb75cba09 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nanobind_2.7.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] = "f9f1b160580c50dcf37b6495a0fd5ec61dc0d95dae5f8004f87dd9ad7eb46b34" | ||
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" | ||