diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-03-12 20:06:09 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-14 09:15:03 -0700 |
| commit | 3d93230c3e0fff2157fbdf63769629878cd36532 (patch) | |
| tree | 45657af61fd1ea55c20d937e19c2a2dd10535515 /meta-python/classes | |
| parent | a3f218e9db0caeb544d834a0f3f374aac7d0e4f3 (diff) | |
| download | meta-openembedded-3d93230c3e0fff2157fbdf63769629878cd36532.tar.gz | |
poetry_core: update for renamed class pip_install_wheel to python_pep517
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/classes')
| -rw-r--r-- | meta-python/classes/poetry_core.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
| 1 | inherit pip_install_wheel python3native setuptools3-base | 1 | inherit python_pep517 python3native setuptools3-base |
| 2 | 2 | ||
| 3 | DEPENDS += "python3-poetry-core-native" | 3 | DEPENDS += "python3-poetry-core-native" |
| 4 | 4 | ||
| @@ -8,8 +8,8 @@ poetry_core_do_configure () { | |||
| 8 | 8 | ||
| 9 | # TODO: ideally this uses pypa/build | 9 | # TODO: ideally this uses pypa/build |
| 10 | poetry_core_do_compile () { | 10 | 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('${PEP517_WHEEL_PATH}')" |
| 12 | } | 12 | } |
| 13 | do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" | 13 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" |
| 14 | 14 | ||
| 15 | EXPORT_FUNCTIONS do_configure do_compile | 15 | EXPORT_FUNCTIONS do_configure do_compile |
