commit: c8ea4c12d8176d31dcb2f8ea0202a2960d010d75 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Mon Jan 12 00:02:51 2026 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon Jan 12 02:11:20 2026 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=c8ea4c12
meson: fix spec violation for configure_file It raises a warning: ``` Configuring AbstractEbuildProcess.py using configuration DEPRECATION: Variable substitution with boolean value 'IPC' is deprecated. ``` ... because formatting a file with a meson `true` boolean is totally unreliable, and we were assuming it resulted in the configured file receiving the text `str(python_True_object)`. Instead, specify exactly which values to format. Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> Closes: https://codeberg.org/gentoo/portage/pulls/2 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> lib/_emerge/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_emerge/meson.build b/lib/_emerge/meson.build index fd463e5c27..05fc7d79fe 100644 --- a/lib/_emerge/meson.build +++ b/lib/_emerge/meson.build @@ -1,7 +1,7 @@ AbstractEbuildProcess_py = configure_file( input : 'AbstractEbuildProcess.py', output : 'AbstractEbuildProcess.py', - configuration : {'IPC' : get_option('ipc')} + configuration : {'IPC' : get_option('ipc') ? 'True' : 'False'} ) create_depgraph_params_py = configure_file(
