From 0e4a1a1043d43b0c2c6c8b4e4eb9dd91511fa366 Mon Sep 17 00:00:00 2001 From: Yuan Liao Date: Mon, 21 Feb 2022 05:05:20 -0800 Subject: [PATCH] dev-util/blueprint-compiler: Add missing test dependency Closes: https://bugs.gentoo.org/833823 Signed-off-by: Yuan Liao --- .../blueprint-compiler-0.1.0_pre20220219.ebuild | 9 ++++++++- .../blueprint-compiler/blueprint-compiler-9999.ebuild | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild index 6dfccd58c0..f38e5e7d8c 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/" LICENSE="LGPL-3+" SLOT="0" -IUSE="doc" +IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} @@ -39,6 +40,12 @@ BDEPEND=" ) " +DEPEND=" + test? ( + gui-libs/gtk:4[introspection] + ) +" + RDEPEND=" ${PYTHON_DEPS} " diff --git a/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild index 7ffa8d6331..219419000c 100644 --- a/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild +++ b/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/" LICENSE="LGPL-3+" SLOT="0" -IUSE="doc" +IUSE="doc test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" BDEPEND=" ${PYTHON_DEPS} @@ -39,6 +40,12 @@ BDEPEND=" ) " +DEPEND=" + test? ( + gui-libs/gtk:4[introspection] + ) +" + RDEPEND=" ${PYTHON_DEPS} "