Commit Graph

7 Commits

Author SHA1 Message Date
Niko Mauno
fd7555efd4 python3-pybind11: Migrate to python_setuptools_build_meta
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>
2024-02-26 08:14:44 -08:00
Pratik Manvar
086eeb45d4 python3-pybind11: Remove the Boost dependency
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>
2024-02-16 09:28:34 -08:00
Niko Mauno
669404fcdb python3-pybind11: Cosmetic fixes
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
9b67d81276 python3-pybind11: Fix LICENSE
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
67d30ca64a python3-pybind11: Prune redundant inherit
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>
2024-02-14 08:24:48 -08:00
Niko Mauno
28cf322751 python3-pybind11: Amend HOMEPAGE
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>
2024-02-14 08:24:48 -08:00
Trevor Gamblin
7fc427838d python3-pybind11: upgrade 2.10.3 -> 2.11.1
Changelog: https://github.com/pybind/pybind11/releases

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-25 12:46:19 -07:00