]> code.ossystems Code Review - openembedded-core.git/commitdiff
pip_install_wheel: don't lazy assign PIPINSTALLARGS
authorRoss Burton <ross@burtonini.com>
Mon, 7 Mar 2022 19:42:33 +0000 (19:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Mar 2022 09:42:59 +0000 (09:42 +0000)
If we expect users to extend this we should use =, as otherwise a recipe
that does += will replace the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/pip_install_wheel.bbclass

index c1680a24ed1b783014c6d3805b0b11b9ee471e2d..febcc8e445131e7024b032d6e08e1b547adb8e4e 100644 (file)
@@ -10,7 +10,7 @@ PIP_INSTALL_PACKAGE ?= "${@guess_pip_install_package_name(d)}"
 PIP_INSTALL_DIST_PATH ?= "${@d.getVar('SETUPTOOLS_SETUP_PATH') or d.getVar('B')}/dist"
 PYPA_WHEEL ??= "${PIP_INSTALL_DIST_PATH}/${PIP_INSTALL_PACKAGE}-*-*.whl"
 
-PIP_INSTALL_ARGS ?= "\
+PIP_INSTALL_ARGS = "\
     -vvvv \
     --ignore-installed \
     --no-cache \