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} "