poetry_core: Rename to python_poetry_core

(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2022-03-13 09:14:25 +00:00
parent 89f9740f98
commit 267e5f4cc2
3 changed files with 4 additions and 4 deletions

View File

@@ -2,12 +2,12 @@ inherit pip_install_wheel python3native setuptools3-base
DEPENDS += "python3-poetry-core-native"
poetry_core_do_configure () {
python_poetry_core_do_configure () {
:
}
# TODO: ideally this uses pypa/build
poetry_core_do_compile () {
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}"

View File

@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
SRC_URI[sha256sum] = "27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1"
inherit pypi poetry_core
inherit pypi python_poetry_core
RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \

View File

@@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=104d5c3c653aeededf4076773aa4c236 \
SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118"
inherit poetry_core pypi
inherit python_poetry_core pypi
RDEPENDS:${PN}:append:class-target = "\
python3-compression \