From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1302852-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A51CD13933E
	for <garchives@archives.gentoo.org>; Thu, 15 Jul 2021 20:20:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F3D8FE0A8A;
	Thu, 15 Jul 2021 20:20:41 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D96A6E0A8A
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Jul 2021 20:20:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D16F3340924
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Jul 2021 20:20:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4546A798
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Jul 2021 20:20:39 +0000 (UTC)
From: "Sergei Trofimovich" <slyfox@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, "Sergei Trofimovich" <slyfox@gentoo.org>
Message-ID: <1626380436.6c0c43ed8fbb33d0fd5ead202612ed3eb5725190.slyfox@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-control-center/
X-VCS-Repository: repo/gentoo
X-VCS-Files: gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
X-VCS-Directories: gnome-base/gnome-control-center/
X-VCS-Committer: slyfox
X-VCS-Committer-Name: Sergei Trofimovich
X-VCS-Revision: 6c0c43ed8fbb33d0fd5ead202612ed3eb5725190
X-VCS-Branch: master
Date: Thu, 15 Jul 2021 20:20:39 +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: 6d1cfe34-33b4-4084-a62c-f26fb94eb37b
X-Archives-Hash: bd59367381413a452cd7cf8c43b20f56

commit:     6c0c43ed8fbb33d0fd5ead202612ed3eb5725190
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 15 18:33:56 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jul 15 20:20:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0c43ed

gnome-base/gnome-control-center: add python to BDEPENDs

Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/793251
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/21658
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild b/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
index 72edc90cc8d..7727243b85a 100644
--- a/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
+++ b/gnome-base/gnome-control-center/gnome-control-center-40.0.ebuild
@@ -20,6 +20,9 @@ REQUIRED_USE="
 " # Theoretically "?? ( elogind systemd )" is fine too, lacking some functionality at runtime, but needs testing if handled gracefully enough
 KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 x86"
 
+# meson.build depends on python unconditionally
+BDEPEND="${PYTHON_DEPS}"
+
 # kerberos unfortunately means mit-krb5; build fails with heimdal
 # display panel requires colord and gnome-settings-daemon[colord]
 # wacom panel requires gsd-enums.h from gsd at build time, probably also runtime support
@@ -127,11 +130,12 @@ PATCHES=(
 )
 
 python_check_deps() {
-	use test && has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
+	use test || return 0
+	has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
 }
 
 pkg_setup() {
-	use test && python-any-r1_pkg_setup
+	python-any-r1_pkg_setup
 }
 
 src_prepare() {