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 2F1AC1382C5 for ; Tue, 16 Feb 2021 15:30:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71611E0844; Tue, 16 Feb 2021 15:30:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 58BC6E0844 for ; Tue, 16 Feb 2021 15:30:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 105A433BDC5 for ; Tue, 16 Feb 2021 15:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FA194DC for ; Tue, 16 Feb 2021 15:30:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1613489393.3f2bc1711c4a457c3179b22da4491460f7ced19a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libical/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libical/libical-3.0.9.ebuild X-VCS-Directories: dev-libs/libical/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3f2bc1711c4a457c3179b22da4491460f7ced19a X-VCS-Branch: master Date: Tue, 16 Feb 2021 15:30:05 +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: 5d64f118-88a0-442d-851d-80ab8433601a X-Archives-Hash: b2d2e43cdf3f7ea460f8eb759228767c commit: 3f2bc1711c4a457c3179b22da4491460f7ced19a Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Feb 16 15:29:06 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 16 15:29:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2bc171 dev-libs/libical: Fix tests with IUSE=glib Reported-by: Toralf Förster gentoo.org> Thanks-to: Frederik Pfautsch fpprogs.de> Closes: https://bugs.gentoo.org/712812 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/libical/libical-3.0.9.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-libs/libical/libical-3.0.9.ebuild b/dev-libs/libical/libical-3.0.9.ebuild index 258a7b81264..27c9d5a47a4 100644 --- a/dev-libs/libical/libical-3.0.9.ebuild +++ b/dev-libs/libical/libical-3.0.9.ebuild @@ -25,7 +25,10 @@ BDEPEND=" virtual/pkgconfig doc? ( app-doc/doxygen ) introspection? ( dev-libs/gobject-introspection ) - test? ( ${PYTHON_DEPS} ) + test? ( + ${PYTHON_DEPS} + glib? ( $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') ) + ) vala? ( $(vala_depend) ) " COMMON_DEPEND=" @@ -50,6 +53,10 @@ PATCHES=( "${FILESDIR}/${PN}-3.0.5-pkgconfig-libdir.patch" ) +python_check_deps() { + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + pkg_setup() { use test && python-any-r1_pkg_setup }