summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2022-03-12 20:06:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:08 +0000
commitbe592ff81c5a8122b795b9260d57274eb412f144 (patch)
tree6841b41e431077007e2f069c209736b611e8f0b2 /meta/classes
parent267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc (diff)
downloadpoky-be592ff81c5a8122b795b9260d57274eb412f144.tar.gz
poetry_core: update for renamed class pip_install_wheel to python_pep517
(From OE-Core rev: 69014d91fd6a3fba2b68703f587a4fc5aa1d8bcc) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/python_poetry_core.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/python_poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass
index a2086b11b6..47b2fe46d5 100644
--- a/meta/classes/python_poetry_core.bbclass
+++ b/meta/classes/python_poetry_core.bbclass
@@ -1,4 +1,4 @@
1inherit pip_install_wheel python3native setuptools3-base 1inherit python_pep517 python3native setuptools3-base
2 2
3DEPENDS += "python3-poetry-core-native" 3DEPENDS += "python3-poetry-core-native"
4 4
@@ -8,8 +8,8 @@ python_poetry_core_do_configure () {
8 8
9# TODO: ideally this uses pypa/build 9# TODO: ideally this uses pypa/build
10python_poetry_core_do_compile () { 10python_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('${PEP517_WHEEL_PATH}')"
12} 12}
13do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" 13do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
14 14
15EXPORT_FUNCTIONS do_configure do_compile 15EXPORT_FUNCTIONS do_configure do_compile