commit:     c7fc6d749c0229459b53f517f46eb407c525c5e7
Author:     Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Tue Nov  1 12:09:32 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 15:14:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fc6d74

app-emulation/libvirt: Make the live ebuild RDEPEND on libvirt-python

As surprising as this may seem, the libvirt's upstream merged
this python script: virt-qemu-qmp-proxy (which as the name
suggest acts like a proxy to running QEMU instances and their QMP
monitors). The script uses libvirt python bindings internally.
Record this runtime requirement in RDEPEND.

Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-emulation/libvirt/libvirt-9999.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-emulation/libvirt/libvirt-9999.ebuild 
b/app-emulation/libvirt/libvirt-9999.ebuild
index 41862ff36a59..b346d777488b 100644
--- a/app-emulation/libvirt/libvirt-9999.ebuild
+++ b/app-emulation/libvirt/libvirt-9999.ebuild
@@ -60,7 +60,9 @@ BDEPEND="
 # non-optional, so put it into RDEPEND.
 # We can use both libnl:1.1 and libnl:3, but if you have both installed, the
 # package will use 3 by default. Since we don't have slot pinning in an API,
-# we must go with the most recent
+# we must go with the most recent.
+# The 'circular' dependency on dev-python/libvirt-python is because of
+# virt-qemu-qmp-proxy.
 RDEPEND="
        acct-user/qemu
        app-misc/scrub
@@ -107,6 +109,7 @@ RDEPEND="
        qemu? (
                >=app-emulation/qemu-4.2
                >=dev-libs/yajl-2.0.3:=
+               dev-python/libvirt-python
        )
        rbd? ( sys-cluster/ceph )
        sasl? ( >=dev-libs/cyrus-sasl-2.1.26 )

Reply via email to