From 267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 13 Mar 2022 09:14:25 +0000 Subject: poetry_core: Rename to python_poetry_core (From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d) Signed-off-by: Richard Purdie --- meta/classes/poetry_core.bbclass | 15 --------------- meta/classes/python_poetry_core.bbclass | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta/classes/poetry_core.bbclass create mode 100644 meta/classes/python_poetry_core.bbclass (limited to 'meta/classes') diff --git a/meta/classes/poetry_core.bbclass b/meta/classes/poetry_core.bbclass deleted file mode 100644 index fb37c78c78..0000000000 --- a/meta/classes/poetry_core.bbclass +++ /dev/null @@ -1,15 +0,0 @@ -inherit pip_install_wheel python3native setuptools3-base - -DEPENDS += "python3-poetry-core-native" - -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}')" -} -do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" - -EXPORT_FUNCTIONS do_configure do_compile diff --git a/meta/classes/python_poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass new file mode 100644 index 0000000000..a2086b11b6 --- /dev/null +++ b/meta/classes/python_poetry_core.bbclass @@ -0,0 +1,15 @@ +inherit pip_install_wheel python3native setuptools3-base + +DEPENDS += "python3-poetry-core-native" + +python_poetry_core_do_configure () { + : +} + +# TODO: ideally this uses pypa/build +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}" + +EXPORT_FUNCTIONS do_configure do_compile -- cgit v1.2.3-54-g00ecf