summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-13 09:14:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:04 +0000
commit241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d (patch)
treef605424903a34adf5ee470ca2e6f56a2b1893ed2 /meta/classes
parent57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514 (diff)
downloadopenembedded-core-contrib-241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d.tar.gz
poetry_core: Rename to python_poetry_core
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/python_poetry_core.bbclass (renamed from meta/classes/poetry_core.bbclass)4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass
index fb37c78c78..a2086b11b6 100644
--- a/meta/classes/poetry_core.bbclass
+++ b/meta/classes/python_poetry_core.bbclass
@@ -2,12 +2,12 @@ inherit pip_install_wheel python3native setuptools3-base
DEPENDS += "python3-poetry-core-native"
-poetry_core_do_configure () {
+python_poetry_core_do_configure () {
:
}
# TODO: ideally this uses pypa/build
-poetry_core_do_compile () {
+python_poetry_core_do_compile () {
nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
}
do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"