From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1696478-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 013021581F3
	for <garchives@archives.gentoo.org>; Mon,  2 Dec 2024 14:50:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 402F6E0833;
	Mon,  2 Dec 2024 14:50:51 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 220EEE082F
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Dec 2024 14:50:51 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3C8A7342FF5
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Dec 2024 14:50:50 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A2D74F96
	for <gentoo-commits@lists.gentoo.org>; Mon,  2 Dec 2024 14:50:43 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1733150856.0607810268d3f81c32bb3b5c80ac353658f084f6.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu-guest-agent/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/qemu-guest-agent/qemu-guest-agent-8.2.0.ebuild
X-VCS-Directories: app-emulation/qemu-guest-agent/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 0607810268d3f81c32bb3b5c80ac353658f084f6
X-VCS-Branch: master
Date: Mon,  2 Dec 2024 14:50:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: bd6e6cc0-feb7-4e21-a246-dd2c4d97e69e
X-Archives-Hash: 42fc6aefa98f403f6f98c4a886b0b388

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