From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 DA05A1382C5 for ; Sat, 17 Apr 2021 22:49:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33E0DE081B; Sat, 17 Apr 2021 22:49:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 1BED3E081B for ; Sat, 17 Apr 2021 22:49:03 +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 3CDB83406C0 for ; Sat, 17 Apr 2021 22:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC355647 for ; Sat, 17 Apr 2021 22:49:00 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1618699734.99a4a4f0466ffa6a2c8af0f568b70ab7f1d07f1f.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gnome-bluetooth/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild X-VCS-Directories: net-wireless/gnome-bluetooth/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 99a4a4f0466ffa6a2c8af0f568b70ab7f1d07f1f X-VCS-Branch: master Date: Sat, 17 Apr 2021 22:49:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 29699887-d579-46cd-8f07-a4b3809e586d X-Archives-Hash: d42d1188468c32e7146675627429e227 commit: 99a4a4f0466ffa6a2c8af0f568b70ab7f1d07f1f Author: Matt Turner gentoo org> AuthorDate: Sat Apr 17 22:43:41 2021 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Apr 17 22:48:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a4a4f0 net-wireless/gnome-bluetooth: Add missing test dependencies Closes: https://bugs.gentoo.org/783081 Signed-off-by: Matt Turner gentoo.org> .../gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild index 04b83b0833a..645a2ed658b 100644 --- a/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild +++ b/net-wireless/gnome-bluetooth/gnome-bluetooth-3.34.5.ebuild @@ -2,14 +2,16 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit gnome.org gnome2-utils meson udev xdg +PYTHON_COMPAT=( python3_{7..9} ) +inherit gnome.org gnome2-utils meson python-any-r1 udev xdg DESCRIPTION="Bluetooth graphical utilities integrated with GNOME" HOMEPAGE="https://wiki.gnome.org/Projects/GnomeBluetooth" LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+" SLOT="2/13" # subslot = libgnome-bluetooth soname version -IUSE="gtk-doc +introspection" +IUSE="gtk-doc +introspection test" +RESTRICT="!test? ( test )" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" DEPEND=" @@ -31,8 +33,25 @@ BDEPEND=" dev-util/glib-utils gtk-doc? ( >=dev-util/gtk-doc-1.9 ) virtual/pkgconfig + test? ( + $(python_gen_any_dep ' + dev-python/dbusmock[${PYTHON_USEDEP}] + dev-python/dbus-python[${PYTHON_USEDEP}] + ') + ) " +python_check_deps() { + if use test; then + has_version -b "dev-python/dbusmock[${PYTHON_USEDEP}]" && \ + has_version -b "dev-python/dbus-python[${PYTHON_USEDEP}]" + fi +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_configure() { local emesonargs=( -Dicon_update=false