1 |
commit: 2df0c1b4b6658d66e1b1b6634ff64b4184156de6 |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Tue Nov 29 15:01:26 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Tue Nov 29 15:01:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2df0c1b4 |
7 |
|
8 |
dev-crystal/spectator: add "test" USE flag |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-crystal/spectator/spectator-0.11.4.ebuild | 6 ++++-- |
13 |
1 file changed, 4 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/dev-crystal/spectator/spectator-0.11.4.ebuild b/dev-crystal/spectator/spectator-0.11.4.ebuild |
16 |
index ac6ecd55d..d23903ad6 100644 |
17 |
--- a/dev-crystal/spectator/spectator-0.11.4.ebuild |
18 |
+++ b/dev-crystal/spectator/spectator-0.11.4.ebuild |
19 |
@@ -12,15 +12,17 @@ SRC_URI="https://github.com/icy-arctic-fox/${PN}/archive/refs/tags/v${PV}.tar.gz |
20 |
LICENSE="MIT" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64" |
23 |
+IUSE="test" |
24 |
+RESTRICT="!test? ( test )" |
25 |
|
26 |
DOCS=( {ARCHITECTURE,CHANGELOG,CONTRIBUTING,README}.md ) |
27 |
|
28 |
CHECKREQS_MEMORY="3G" |
29 |
|
30 |
pkg_pretend() { |
31 |
- has test "${FEATURES}" && check-reqs_pkg_pretend |
32 |
+ use test && check-reqs_pkg_pretend |
33 |
} |
34 |
|
35 |
pkg_setup() { |
36 |
- has test "${FEATURES}" && check-reqs_pkg_setup |
37 |
+ use test && check-reqs_pkg_setup |
38 |
} |