From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1705074-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 EFE9015812D
	for <garchives@archives.gentoo.org>; Thu, 02 Jan 2025 18:18:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4776FE07AE;
	Thu, 02 Jan 2025 18:18:27 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 B4D36E0825
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 18:18:25 +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 2421B33BEB9
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 18:18:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A91B1D81
	for <gentoo-commits@lists.gentoo.org>; Thu, 02 Jan 2025 18:18:22 +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: <1735841876.084e4d7f5978412c959a50b014e8c2312143436a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dbus/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/dbus/dbus-1.15.8.ebuild
X-VCS-Directories: sys-apps/dbus/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 084e4d7f5978412c959a50b014e8c2312143436a
X-VCS-Branch: master
Date: Thu, 02 Jan 2025 18:18:22 +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: f36fcd02-08ae-4a3d-bdf5-257c52b35536
X-Archives-Hash: c32ec3ccee735dd97456e66c20969061

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"