[meta-python,v2,1/2] poetry_core.bbclass: adjust for pip_install_wheel.bbclass -> python_pep517.bbclass rename

Message ID 20220312213319.1814870-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python,v2,1/2] poetry_core.bbclass: adjust for pip_install_wheel.bbclass -> python_pep517.bbclass rename | expand

Commit Message

Khem Raj March 12, 2022, 9:33 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Adjust for renamed PEP517_WHEEL_PATH

 meta-python/classes/poetry_core.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta-python/classes/poetry_core.bbclass b/meta-python/classes/poetry_core.bbclass
index fb37c78c78..b2b80efa4f 100644
--- a/meta-python/classes/poetry_core.bbclass
+++ b/meta-python/classes/poetry_core.bbclass
@@ -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