summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pybind11_2.11.1.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-pybind11: Restore strip prevention patchNiko Mauno2024-02-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | The patch which removed the pybind11_strip() call from provisioned pybind11*Tools.cmake files was dropped in commit 5c455804aede17e0ea0cbb7ab55f8580f912e664 ("python3-pybind11: Upgrade to 2.10.3"). However this change delegated the requirement to set CMAKE_BUILD_TYPE as 'Debug' or 'RelWithDebInfo' (or as unset) to the cmake utilizing packages which have build time dependency on python3-pybind11, failure to do which causes following kind of BitBake failure with Yocto: ERROR: foobar-1.0.0-r0 do_package: QA Issue: File '/usr/lib/python3.11/site-packages/foobar.so' from foobar was already stripped, this will prevent future debugging! [already-stripped] Restore the patch so that the stripping is delegated to Yocto once more, allowing depending cmake packages to work out of the box also when they use 'Release' or 'MinSizeRel' as CMAKE_BUILD_TYPE by default. Signed-off-by: Joonas Salonpää <joonas.salonpaa@vaisala.com> Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Migrate to python_setuptools_build_metaNiko Mauno2024-02-261-12/+11
| | | | | | | | | | | | | | | | | Switch from setuptools3.bbclass to python_setuptools_build_meta.bblass which reflects https://github.com/pybind/pybind11/blob/v2.11.1/pyproject.toml#L3 and mitigates following warning during do_compile: .../python3-pybind11/2.11.1/recipe-sysroot-native/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. Here we also fix remaining minor style issue in task declarations (use four space indentation instead of three). Reported-by: Tim Orling <ticotimo@gmail.com> Closes: https://lists.openembedded.org/g/openembedded-devel/message/108748 Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Remove the Boost dependencyPratik Manvar2024-02-161-1/+0
| | | | | | | | | | | | | | | Boost is an optional dependency and it is only used in tests which are disabled by default in this recipe. References: https://github.com/pybind/pybind11/blob/master/tests/CMakeLists.txt#L325 Moreover, the Boost is an enormously large and complex suite of utility libraries that cost the filesystem memory footprint of Embedded devices. Signed-off-by: Christian Ege <christian.ege@ifm.com> Signed-off-by: Pratik Manvar <pratik.manvar@ifm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Cosmetic fixesNiko Mauno2024-02-141-5/+3
| | | | | | | | Introduce cosmetic fixes to recipe file content based on oe-stylize.py suggestions. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Fix LICENSENiko Mauno2024-02-141-1/+1
| | | | | | | | The repositorys LICENSE file contains BSD-3-Clause license text, so update the relevant recipe information field to match. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Prune redundant inheritNiko Mauno2024-02-141-1/+1
| | | | | | | | Inheriting setuptools3 implies the inherit of python3native, so drop the latter inherit as redundant. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: Amend HOMEPAGENiko Mauno2024-02-141-1/+1
| | | | | | | | | Update the HOMEPAGE value so that the URL points to the original repository instead of a fork. By doing this we fix the mismatch between HOMEPAGE and SRC_URI. Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pybind11: upgrade 2.10.3 -> 2.11.1Trevor Gamblin2023-07-251-0/+35
Changelog: https://github.com/pybind/pybind11/releases Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>