summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb b/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.bb
new file mode 100644
index 0000000000..58dbb30c84
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-nanobind_2.12.0.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] = "0ae77c1a88f27153fa57045ee00f7b0a7b06b1cd3df942e95a34b38c5d0a5bee"
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"