]> code.ossystems Code Review - openembedded-core.git/commitdiff
poetry_core: Rename to python_poetry_core
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 13 Mar 2022 09:14:25 +0000 (09:14 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2022 08:40:11 +0000 (08:40 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/python_poetry_core.bbclass [moved from meta/classes/poetry_core.bbclass with 82% similarity]
meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb

similarity index 82%
rename from meta/classes/poetry_core.bbclass
rename to meta/classes/python_poetry_core.bbclass
index fb37c78c782192a759af9ed78dae412075c37ffa..a2086b11b6cf9d8a24d00eb497ae1da99b110c0d 100644 (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}"
index aabc47d69b9fe35e2f8457b49275536d41561a21..93af233d29647dd5953549833023d6a6e2ca6885 100644 (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 \
index 22d7076d01b01b3e6259e057302c5cc413c1bec9..f3e9b055218ed49db8635cb5d2399334b05c06fc 100644 (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 \