commit:     0e4a1a1043d43b0c2c6c8b4e4eb9dd91511fa366
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Mon Feb 21 13:05:20 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon Feb 21 13:09:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e4a1a10

dev-util/blueprint-compiler: Add missing test dependency

Closes: https://bugs.gentoo.org/833823
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>

 .../blueprint-compiler-0.1.0_pre20220219.ebuild                  | 9 ++++++++-
 dev-util/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 6dfccd58c..f38e5e7d8 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 7ffa8d633..219419000 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}
 "

Reply via email to