commit:     e97e7b8f617956a240ef733761d78c8c807fb5b4
Author:     Zoltan Puskas <zoltan <AT> sinustrom <DOT> info>
AuthorDate: Mon Jan 19 08:58:12 2026 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jan 27 08:03:37 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97e7b8f

net-irc/weechat: Fix test failure

Weechat's test suite uses a Python script to generate sample scripts in
various languages to validate plugins. This is regardless whether the
Python plugin itself is enabled or not.

Forcing the missing Python dependenty to make an interpreter available
when running tests fixes the problem.

Closes: https://bugs.gentoo.org/951727
Signed-off-by: Zoltan Puskas <zoltan <AT> sinustrom.info>
Part-of: https://github.com/gentoo/gentoo/pull/45437
Closes: https://github.com/gentoo/gentoo/pull/45437
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-irc/weechat/weechat-4.7.2-r1.ebuild | 2 +-
 net-irc/weechat/weechat-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-irc/weechat/weechat-4.7.2-r1.ebuild 
b/net-irc/weechat/weechat-4.7.2-r1.ebuild
index d39d2067fcd1..87b79894c59b 100644
--- a/net-irc/weechat/weechat-4.7.2-r1.ebuild
+++ b/net-irc/weechat/weechat-4.7.2-r1.ebuild
@@ -49,7 +49,7 @@ REQUIRED_USE="
        guile? ( ${GUILE_REQUIRED_USE} )
        lua? ( ${LUA_REQUIRED_USE} )
        python? ( ${PYTHON_REQUIRED_USE} )
-       test? ( nls )
+       test? ( nls python )
        relay-api? ( relay )
 "
 

diff --git a/net-irc/weechat/weechat-9999.ebuild 
b/net-irc/weechat/weechat-9999.ebuild
index c73e49255d34..6e2de19c9a93 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -49,7 +49,7 @@ REQUIRED_USE="
        guile? ( ${GUILE_REQUIRED_USE} )
        lua? ( ${LUA_REQUIRED_USE} )
        python? ( ${PYTHON_REQUIRED_USE} )
-       test? ( nls )
+       test? ( nls python )
        relay-api? ( relay )
 "
 

Reply via email to