summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-nanobind_2.7.0.bb
diff options
context:
space:
mode:
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.bb26
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 @@
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"