commit: 0607810268d3f81c32bb3b5c80ac353658f084f6 Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com> AuthorDate: Mon Dec 2 10:01:56 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Dec 2 14:47:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06078102
app-emulation/qemu-guest-agent: Ensure pip is available While we list python as a dependency, it's not enough because the configure script creates a venv and installs various tools into it using pip. Make sure pip is available by setting PYTHON_REQ_USE="ensurepip". Now, since qemu-guest-agent and qemu are both built from the same sources, I just copied PYTHON_REQ_USE from the latter, verbatim. So it lists more USE flags, but that's possibly okay. NB, this is similar to how app-emulation/qemu evolved: dafdf8f41fe242a8b2b51d2b8982a6e447115a58 added dev-python/pip into BDEPEND, a9ca061a7fa2393c69be5b3de53bac2db1289ef1 allowed dev-lang/python[ensurepip] to be chosen instead, f09045568b3e4ec1aab0e0f7a3c237671c6070b7 moved entry from BDEPEND to PYTHON_REQ_USE. Closes: https://bugs.gentoo.org/943034 Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39561 Signed-off-by: Sam James <sam <AT> gentoo.org> app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild index 8edae8bf7044..d9988b5cbf5e 100644 --- a/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild +++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="ensurepip(-),ncurses,readline" inherit edo systemd toolchain-funcs python-any-r1 udev
