commit:     084e4d7f5978412c959a50b014e8c2312143436a
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Dec 23 13:26:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 18:17:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084e4d7f

sys-apps/dbus: python interpeter is required unconditionally

Move PYTHON_DEPS to BDEPEND as python isnt linked against for the tests
either.

Closes: https://bugs.gentoo.org/932517
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39827
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/dbus/dbus-1.15.8.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/sys-apps/dbus/dbus-1.15.8.ebuild b/sys-apps/dbus/dbus-1.15.8.ebuild
index 17f0683f1f7c..04b9fac06c8b 100644
--- a/sys-apps/dbus/dbus-1.15.8.ebuild
+++ b/sys-apps/dbus/dbus-1.15.8.ebuild
@@ -25,6 +25,7 @@ IUSE="debug doc elogind selinux static-libs systemd test 
valgrind X"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
+       ${PYTHON_DEPS}
        acct-user/messagebus
        app-text/xmlto
        app-text/docbook-xml-dtd:4.4
@@ -48,10 +49,7 @@ COMMON_DEPEND="
 DEPEND="
        ${COMMON_DEPEND}
        dev-libs/expat
-       test? (
-               ${PYTHON_DEPS}
-               >=dev-libs/glib-2.40:2
-       )
+       test? ( >=dev-libs/glib-2.40:2 )
        valgrind? ( >=dev-debug/valgrind-3.6 )
        X? ( x11-base/xorg-proto )
 "
@@ -72,7 +70,8 @@ PATCHES=(
 )
 
 pkg_setup() {
-       use test && python-any-r1_pkg_setup
+       # Python interpeter required unconditionally (bug #932517)
+       python-any-r1_pkg_setup
 
        if use kernel_linux; then
                CONFIG_CHECK="~EPOLL"

Reply via email to