commit:     0b6ceecd10633f4103a781e642cc63e78bf83dff
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 23 11:55:56 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Dec 23 11:55:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6ceecd

app-emulation/open-vmdk: Ensure Python it set up for tests

Arrgh, this package is confusing!

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-emulation/open-vmdk/open-vmdk-0.3.12.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-emulation/open-vmdk/open-vmdk-0.3.12.ebuild 
b/app-emulation/open-vmdk/open-vmdk-0.3.12.ebuild
index b7d3ab544469..c17133cebbcf 100644
--- a/app-emulation/open-vmdk/open-vmdk-0.3.12.ebuild
+++ b/app-emulation/open-vmdk/open-vmdk-0.3.12.ebuild
@@ -47,7 +47,9 @@ BDEPEND="
 "
 
 pkg_setup() {
-       use python && python-single-r1_pkg_setup
+       if use python || use test; then
+               python-single-r1_pkg_setup
+       fi
 }
 
 my_emake() {

Reply via email to