summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-13 09:14:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:08 +0000
commit267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc (patch)
tree0c25d5bdcb15e4d1d3540a584948946c47f784d9
parent89f9740f98a899415af3b0a892542f37fe61cf55 (diff)
downloadpoky-267e5f4cc2781b08b8bc2b9a5ad638b7554c6ffc.tar.gz
poetry_core: Rename to python_poetry_core
(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/python_poetry_core.bbclass (renamed from meta/classes/poetry_core.bbclass)4
-rw-r--r--meta/recipes-devtools/python/python3-iso8601_1.0.2.bb2
-rw-r--r--meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb2
3 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/poetry_core.bbclass b/meta/classes/python_poetry_core.bbclass
index fb37c78c78..a2086b11b6 100644
--- a/meta/classes/poetry_core.bbclass
+++ b/meta/classes/python_poetry_core.bbclass
@@ -2,12 +2,12 @@ inherit pip_install_wheel python3native setuptools3-base
2 2
3DEPENDS += "python3-poetry-core-native" 3DEPENDS += "python3-poetry-core-native"
4 4
5poetry_core_do_configure () { 5python_poetry_core_do_configure () {
6 : 6 :
7} 7}
8 8
9# TODO: ideally this uses pypa/build 9# TODO: ideally this uses pypa/build
10poetry_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('${PIP_INSTALL_DIST_PATH}')"
12} 12}
13do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" 13do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
diff --git a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
index aabc47d69b..93af233d29 100644
--- a/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
+++ b/meta/recipes-devtools/python/python3-iso8601_1.0.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b05625f2336fa024e8d57e65c6595844"
5 5
6SRC_URI[sha256sum] = "27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1" 6SRC_URI[sha256sum] = "27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1"
7 7
8inherit pypi poetry_core 8inherit pypi python_poetry_core
9 9
10RDEPENDS:${PN} += "\ 10RDEPENDS:${PN} += "\
11 ${PYTHON_PN}-datetime \ 11 ${PYTHON_PN}-datetime \
diff --git a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
index 22d7076d01..f3e9b05521 100644
--- a/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
+++ b/meta/recipes-devtools/python/python3-poetry-core_1.0.8.bb
@@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=104d5c3c653aeededf4076773aa4c236 \
21 21
22SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118" 22SRC_URI[sha256sum] = "951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118"
23 23
24inherit poetry_core pypi 24inherit python_poetry_core pypi
25 25
26RDEPENDS:${PN}:append:class-target = "\ 26RDEPENDS:${PN}:append:class-target = "\
27 python3-compression \ 27 python3-compression \