mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-18 10:58:18 +00:00
poetry_core: update for renamed class pip_install_wheel to python_pep517
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
inherit pip_install_wheel python3native setuptools3-base
|
||||
inherit python_pep517 python3native setuptools3-base
|
||||
|
||||
DEPENDS += "python3-poetry-core-native"
|
||||
|
||||
@@ -8,8 +8,8 @@ poetry_core_do_configure () {
|
||||
|
||||
# TODO: ideally this uses pypa/build
|
||||
poetry_core_do_compile () {
|
||||
nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
|
||||
nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')"
|
||||
}
|
||||
do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
|
||||
do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
|
||||
|
||||
EXPORT_FUNCTIONS do_configure do_compile
|
||||
|
||||
Reference in New Issue
Block a user