diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-19 16:07:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-20 11:39:45 +0000 |
commit | 0b33104a973c9dee0a33254197e487e7fc6156b7 (patch) | |
tree | 7d3e938fcd8f6263a37a131df6ccde551db84471 /meta/classes-recipe/setuptools3.bbclass | |
parent | 4cfd0f7e4e2db19344677999572e5b71ae97dfc4 (diff) | |
download | poky-0b33104a973c9dee0a33254197e487e7fc6156b7.tar.gz |
python: Drop ${PYTHON_PN}
python 2 is gone and we don't need the abstraction now, drop the remaining usage
of this variable.
The definition in python3-dir.bbclass is left for now for other layers.
(From OE-Core rev: b566b1e32c7993d1ab7795562f648e52ce186a70)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/setuptools3.bbclass')
-rw-r--r-- | meta/classes-recipe/setuptools3.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/setuptools3.bbclass b/meta/classes-recipe/setuptools3.bbclass index 4c6e79ee9a..d71a089539 100644 --- a/meta/classes-recipe/setuptools3.bbclass +++ b/meta/classes-recipe/setuptools3.bbclass | |||
@@ -21,9 +21,9 @@ setuptools3_do_compile() { | |||
21 | NO_FETCH_BUILD=1 \ | 21 | NO_FETCH_BUILD=1 \ |
22 | STAGING_INCDIR=${STAGING_INCDIR} \ | 22 | STAGING_INCDIR=${STAGING_INCDIR} \ |
23 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 23 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
24 | ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \ | 24 | ${STAGING_BINDIR_NATIVE}/python3-native/python3 setup.py \ |
25 | bdist_wheel --verbose --dist-dir ${PEP517_WHEEL_PATH} ${SETUPTOOLS_BUILD_ARGS} || \ | 25 | bdist_wheel --verbose --dist-dir ${PEP517_WHEEL_PATH} ${SETUPTOOLS_BUILD_ARGS} || \ |
26 | bbfatal_log "'${PYTHON_PN} setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed." | 26 | bbfatal_log "'python3 setup.py bdist_wheel ${SETUPTOOLS_BUILD_ARGS}' execution failed." |
27 | } | 27 | } |
28 | setuptools3_do_compile[vardepsexclude] = "MACHINE" | 28 | setuptools3_do_compile[vardepsexclude] = "MACHINE" |
29 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" | 29 | do_compile[cleandirs] += "${PEP517_WHEEL_PATH}" |