meson: inherit setuptools_build_meta

Upstream provides a pyproject.toml which declares setuptools.build_meta
to be backend for PEP-517 packaging.

Set PIP_INSTALL_PACKAGE as this recipe does not inherit pypi and
therefor no PYPI_PACKAGE is defined

[YOCTO #14638]

(From OE-Core rev: 0d9bc65139a9cabbeabe166e83f2d61f47d7bdd7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling
2022-02-22 11:16:45 -08:00
committed by Richard Purdie
parent 9d45c92149
commit b5cc70b392

View File

@@ -21,7 +21,9 @@ SRC_URI[sha256sum] = "0233a7f8d959079318f6052b0939c27f68a5de86ba601f25c9ee6869fb
UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
inherit setuptools3
inherit setuptools_build_meta
PIP_INSTALL_PACKAGE = "meson"
RDEPENDS:${PN} = "ninja python3-modules python3-pkg-resources"