poetry_core.bbclass: adjust for pip_install_wheel.bbclass -> python_pep517.bbclass rename
PATCH v2 1/2 poetry_core.bbclass: adjust for pip_install_wheel.bbclass -> python_pep517.bbclass rename
Signed-off-by Khem Raj <[email protected]>
---
v2: Adjust for renamed PEP517_WHEEL_PATH
meta-python/classes/poetry_core.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-python/classes/poetry_core.bbclass +3 -3
@@ -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
Signature · 1 line
2.35.1
PATCH 2/2 python3-poetry-core: Setting PIP_INSTALL_PACKAGE is no longer needed
Signed-off-by Khem Raj <[email protected]>
--- .../recipes-devtools/python/python3-poetry-core_1.0.8.bb | 2 -- 1 file changed, 2 deletions(-)
meta-python/recipes-devtools/python/python3-poetry-core_1.0.8.bb +0 -2
@@ -23,8 +23,6 @@ SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa4 inherit poetry_core pypi -PIP_INSTALL_PACKAGE = "poetry_core" - RDEPENDS:${PN}:append:class-target = "\ python3-compression \ python3-core \
Signature · 1 line
2.35.1