summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-03-20 14:32:26 +0200
committerKhem Raj <raj.khem@gmail.com>2025-03-22 09:31:25 -0700
commit6482398bc30dc2d07df983a585531351a3a4cb16 (patch)
tree7740f6a3596612e6d3f9904394755c6d7e97d8c1 /meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
parent5aa1d149d9bfbbf93beb92e985e882231c7dfc78 (diff)
downloadmeta-openembedded-6482398bc30dc2d07df983a585531351a3a4cb16.tar.gz
python3-pybind11: Upgrade 2.12.0 -> 2.13.6
Upgrade to release 2.13.6: - A new self._pybind11_conduit_v1_() method is automatically added to all py::class_-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 versions with different PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2, 2.12.1, and 2.13.6+. - Using __cpp_nontype_template_args instead of __cpp_nontype_template_parameter_class. - Properly translate C++ exception to Python exception when creating Python buffer from wrapped object. - Adds an answer (FAQ) for "What is a highly conclusive and simple way to find memory leaks?". Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
new file mode 100644
index 0000000000..ee5722fbcb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Seamless operability between C++11 and Python"
2HOMEPAGE = "https://github.com/pybind/pybind11"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f"
5DEPENDS = "\
6 python3-cmake-native \
7 python3-ninja-native \
8"
9
10SRCREV = "a2e59f0e7065404b44dfe92a28aca47ba1378dc4"
11SRC_URI = "\
12 git://github.com/pybind/pybind11.git;branch=stable;protocol=https \
13"
14
15S = "${WORKDIR}/git"
16
17inherit cmake python_setuptools_build_meta
18
19EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF"
20
21do_configure:append() {
22 cmake_do_configure
23}
24
25do_compile:append() {
26 cmake_do_compile
27}
28
29do_install:append() {
30 cmake_do_install
31}
32
33BBCLASSEXTEND = "native nativesdk"