app-emulation/qemu: fix Python BDEPEND for ensurepip

python_gen_impl_dep with no arguments will use a blank PYTHON_REQ_USE
rather than whatever is set in global scope, so use PYTHON_DEPS instead.

The dep was correct in {R,}DEPEND for USE=python but not otherwise (in
BDEPEND for the general case). Importantly, the eclass doesn't just
add to BDEPEND for you either.

Bug: https://bugs.gentoo.org/913084
Bug: https://bugs.gentoo.org/942466
Closes: https://bugs.gentoo.org/942518
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-10-18 12:51:22 +01:00
parent 4ad7b5b875
commit c6fc8da5ec
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
12 changed files with 12 additions and 12 deletions

View File

@ -276,7 +276,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -290,7 +290,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -276,7 +276,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -290,7 +290,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -290,7 +290,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -290,7 +290,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -291,7 +291,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -291,7 +291,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -277,7 +277,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -276,7 +276,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -276,7 +276,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0

View File

@ -291,7 +291,7 @@ PPC_FIRMWARE_DEPEND="
# See bug #913084 for pip dep
BDEPEND="
$(python_gen_impl_dep)
${PYTHON_DEPS}
dev-python/distlib[${PYTHON_USEDEP}]
dev-lang/perl
>=dev-build/meson-0.63.0