diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-13 09:14:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 08:48:08 +0000 |
| commit | 267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc (patch) | |
| tree | 0c25d5bdcb15e4d1d3540a584948946c47f784d9 /meta/classes | |
| parent | 89f9740f98a899415af3b0a892542f37fe61cf55 (diff) | |
| download | poky-267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc.tar.gz | |
poetry_core: Rename to python_poetry_core
(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d)
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 | |||
| 2 | 2 | ||
| 3 | DEPENDS += "python3-poetry-core-native" | 3 | DEPENDS += "python3-poetry-core-native" |
| 4 | 4 | ||
| 5 | poetry_core_do_configure () { | 5 | python_poetry_core_do_configure () { |
| 6 | : | 6 | : |
| 7 | } | 7 | } |
| 8 | 8 | ||
| 9 | # TODO: ideally this uses pypa/build | 9 | # TODO: ideally this uses pypa/build |
| 10 | poetry_core_do_compile () { | 10 | python_poetry_core_do_compile () { |
| 11 | nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')" | 11 | nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')" |
| 12 | } | 12 | } |
| 13 | do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" | 13 | do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" |
