1 |
commit: d48028bb7b02dda0aced9d3588482b222e77176c |
2 |
Author: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Apr 27 08:17:30 2020 +0000 |
4 |
Commit: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Apr 27 08:20:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d48028bb |
7 |
|
8 |
app-misc/cheat: override src_test function |
9 |
|
10 |
default `make check` will run a formatting command using an |
11 |
external command (not available yet on Guru overlay) |
12 |
|
13 |
Package-Manager: Portage-2.3.89, Repoman 2.3.20 |
14 |
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail.com> |
15 |
|
16 |
app-misc/cheat/cheat-3.9.0-r1.ebuild | 7 +++++++ |
17 |
1 file changed, 7 insertions(+) |
18 |
|
19 |
diff --git a/app-misc/cheat/cheat-3.9.0-r1.ebuild b/app-misc/cheat/cheat-3.9.0-r1.ebuild |
20 |
index 5644e85..ab71b17 100644 |
21 |
--- a/app-misc/cheat/cheat-3.9.0-r1.ebuild |
22 |
+++ b/app-misc/cheat/cheat-3.9.0-r1.ebuild |
23 |
@@ -99,6 +99,13 @@ BDEPEND=" |
24 |
" |
25 |
RDEPEND="zsh-completion? ( !app-shells/zsh-completions )" |
26 |
|
27 |
+src_test() { |
28 |
+ # we can't use the default behavior |
29 |
+ # since the check rule performs formatting |
30 |
+ # with a non-standard go tool |
31 |
+ emake test |
32 |
+} |
33 |
+ |
34 |
src_install() { |
35 |
dobin "dist/${PN}" |
36 |
if use zsh-completion; then |