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 7AAF2138359 for ; Wed, 19 Aug 2020 23:54:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96887E0B05; Wed, 19 Aug 2020 23:54:36 +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 E7344E0B05 for ; Wed, 19 Aug 2020 23:54:35 +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 8327E34F39E for ; Wed, 19 Aug 2020 23:54:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBE992FE for ; Wed, 19 Aug 2020 23:54:32 +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: <1597881234.e9ef239fbf4e16b0dc6871513578533e0e99739d.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gobject-introspection/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild X-VCS-Directories: dev-libs/gobject-introspection/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: e9ef239fbf4e16b0dc6871513578533e0e99739d X-VCS-Branch: master Date: Wed, 19 Aug 2020 23:54:32 +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: c780e712-0723-4132-a617-6f99010ab2d9 X-Archives-Hash: 463a314d6cde9f97a2aafe50c686d7b2 commit: e9ef239fbf4e16b0dc6871513578533e0e99739d Author: Matt Turner gentoo org> AuthorDate: Wed Aug 19 23:31:21 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Aug 19 23:53:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ef239f dev-libs/gobject-introspection: Depend on mako and markdown for tests test_docwriter.py looks to requires dev-python/mako, and via giscanner/docwriter.py, dev-python/markdown. The test contains @unittest.skipUnless(HAS_MAKO, "mako missing") which skips the test if mako is not available, but it does not check whether markdown is also available. In the case that mako is available but markdown is not, the test will run and fail to import markdown. These are common and small dependencies. Let's just require both of them for tests. Closes: https://bugs.gentoo.org/733668 Signed-off-by: Matt Turner gentoo.org> .../gobject-introspection/gobject-introspection-1.64.1-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild index e46c93b2e1f..ff498a735a4 100644 --- a/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild +++ b/dev-libs/gobject-introspection/gobject-introspection-1.64.1-r1.ebuild @@ -39,7 +39,13 @@ DEPEND="${RDEPEND} ) sys-devel/bison sys-devel/flex - test? ( x11-libs/cairo[glib] ) + test? ( + x11-libs/cairo[glib] + $(python_gen_cond_dep ' + dev-python/mako[${PYTHON_MULTI_USEDEP}] + dev-python/markdown[${PYTHON_MULTI_USEDEP}] + ') + ) " pkg_setup() {