summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb
new file mode 100644
index 0000000000..12b7ff5133
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-nanobind_2.10.2.bb
@@ -0,0 +1,27 @@
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] = "08509910ce6d1fadeed69cb0880d4d4fcb77739c6af9bd8fb4419391a3ca4c6b"
8
9inherit pypi cmake python_setuptools_build_meta
10
11EXTRA_OECMAKE += "-DNB_TEST=OFF"
12
13DEPENDS += "\
14 python3-cmake-native \
15 python3-scikit-build-native \
16 python3-scikit-build-core-native \
17 ninja-native \
18"
19
20do_install:append() {
21 install -d ${D}${libdir}/cmake/${PYPI_PACKAGE}
22 install -m 0644 ${S}/cmake/* ${D}${libdir}/cmake/${PYPI_PACKAGE}/
23}
24
25FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*"
26
27BBCLASSEXTEND = "native nativesdk"