diff options
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.bb | 27 |
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 @@ | |||
| 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] = "08509910ce6d1fadeed69cb0880d4d4fcb77739c6af9bd8fb4419391a3ca4c6b" | ||
| 8 | |||
| 9 | inherit pypi cmake python_setuptools_build_meta | ||
| 10 | |||
| 11 | EXTRA_OECMAKE += "-DNB_TEST=OFF" | ||
| 12 | |||
| 13 | DEPENDS += "\ | ||
| 14 | python3-cmake-native \ | ||
| 15 | python3-scikit-build-native \ | ||
| 16 | python3-scikit-build-core-native \ | ||
| 17 | ninja-native \ | ||
| 18 | " | ||
| 19 | |||
| 20 | do_install:append() { | ||
| 21 | install -d ${D}${libdir}/cmake/${PYPI_PACKAGE} | ||
| 22 | install -m 0644 ${S}/cmake/* ${D}${libdir}/cmake/${PYPI_PACKAGE}/ | ||
| 23 | } | ||
| 24 | |||
| 25 | FILES:${PN} += "${prefix_native}/* ${prefix_native}/${PN}/* ${base_libdir}/cmake/*" | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
