diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2025-03-20 14:32:26 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-22 09:31:25 -0700 |
| commit | 6482398bc30dc2d07df983a585531351a3a4cb16 (patch) | |
| tree | 7740f6a3596612e6d3f9904394755c6d7e97d8c1 /meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb | |
| parent | 5aa1d149d9bfbbf93beb92e985e882231c7dfc78 (diff) | |
| download | meta-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.bb | 33 |
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 @@ | |||
| 1 | SUMMARY = "Seamless operability between C++11 and Python" | ||
| 2 | HOMEPAGE = "https://github.com/pybind/pybind11" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" | ||
| 5 | DEPENDS = "\ | ||
| 6 | python3-cmake-native \ | ||
| 7 | python3-ninja-native \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRCREV = "a2e59f0e7065404b44dfe92a28aca47ba1378dc4" | ||
| 11 | SRC_URI = "\ | ||
| 12 | git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ | ||
| 13 | " | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit cmake python_setuptools_build_meta | ||
| 18 | |||
| 19 | EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" | ||
| 20 | |||
| 21 | do_configure:append() { | ||
| 22 | cmake_do_configure | ||
| 23 | } | ||
| 24 | |||
| 25 | do_compile:append() { | ||
| 26 | cmake_do_compile | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install:append() { | ||
| 30 | cmake_do_install | ||
| 31 | } | ||
| 32 | |||
| 33 | BBCLASSEXTEND = "native nativesdk" | ||
