mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
The pep517 class no longer called the "build" module directly, so we can't play games with PYTHONPATH here. However, the flit_core class has a bootstrap method so this recipe can use that instead. (From OE-Core rev: ae85c85b28fd01591ace2f48159cdc7fbc05a26a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
668 B
BlitzBasic
28 lines
668 B
BlitzBasic
SUMMARY = "A simple, correct PEP517 package builder"
|
|
HOMEPAGE = "https://github.com/pypa/build"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
|
|
|
|
SRC_URI[sha256sum] = "119b2fb462adef986483438377a13b2f42064a2a3a4161f24a0cca698a07ac8c"
|
|
|
|
inherit pypi python_flit_core
|
|
|
|
DEPENDS += "python3-pyproject-hooks-native"
|
|
|
|
do_compile:class-native() {
|
|
python_flit_core_do_manual_build
|
|
}
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-compression \
|
|
python3-difflib \
|
|
python3-ensurepip \
|
|
python3-logging \
|
|
python3-packaging \
|
|
python3-pyproject-hooks \
|
|
python3-tomllib \
|
|
python3-venv \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|