Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-util/blueprint-compiler/
Date: Wed, 23 Feb 2022 00:33:52
Message-Id: 1645448982.0e4a1a1043d43b0c2c6c8b4e4eb9dd91511fa366.tastytea@gentoo
1 commit: 0e4a1a1043d43b0c2c6c8b4e4eb9dd91511fa366
2 Author: Yuan Liao <liaoyuan <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 21 13:05:20 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Mon Feb 21 13:09:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0e4a1a10
7
8 dev-util/blueprint-compiler: Add missing test dependency
9
10 Closes: https://bugs.gentoo.org/833823
11 Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
12
13 .../blueprint-compiler-0.1.0_pre20220219.ebuild | 9 ++++++++-
14 dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild | 9 ++++++++-
15 2 files changed, 16 insertions(+), 2 deletions(-)
16
17 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
18 index 6dfccd58c..f38e5e7d8 100644
19 --- a/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild
20 +++ b/dev-util/blueprint-compiler/blueprint-compiler-0.1.0_pre20220219.ebuild
21 @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/"
22 LICENSE="LGPL-3+"
23 SLOT="0"
24
25 -IUSE="doc"
26 +IUSE="doc test"
27 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
28 +RESTRICT="!test? ( test )"
29
30 BDEPEND="
31 ${PYTHON_DEPS}
32 @@ -39,6 +40,12 @@ BDEPEND="
33 )
34 "
35
36 +DEPEND="
37 + test? (
38 + gui-libs/gtk:4[introspection]
39 + )
40 +"
41 +
42 RDEPEND="
43 ${PYTHON_DEPS}
44 "
45
46 diff --git a/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild b/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild
47 index 7ffa8d633..219419000 100644
48 --- a/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild
49 +++ b/dev-util/blueprint-compiler/blueprint-compiler-9999.ebuild
50 @@ -28,8 +28,9 @@ HOMEPAGE="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/"
51 LICENSE="LGPL-3+"
52 SLOT="0"
53
54 -IUSE="doc"
55 +IUSE="doc test"
56 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
57 +RESTRICT="!test? ( test )"
58
59 BDEPEND="
60 ${PYTHON_DEPS}
61 @@ -39,6 +40,12 @@ BDEPEND="
62 )
63 "
64
65 +DEPEND="
66 + test? (
67 + gui-libs/gtk:4[introspection]
68 + )
69 +"
70 +
71 RDEPEND="
72 ${PYTHON_DEPS}
73 "