commit:     d48028bb7b02dda0aced9d3588482b222e77176c
Author:     Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
AuthorDate: Mon Apr 27 08:17:30 2020 +0000
Commit:     Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail <DOT> com>
CommitDate: Mon Apr 27 08:20:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d48028bb

app-misc/cheat: override src_test function

default `make check` will run a formatting command using an
external command (not available yet on Guru overlay)

Package-Manager: Portage-2.3.89, Repoman 2.3.20
Signed-off-by: Mathieu Tortuyaux <mathieu.tortuyaux <AT> gmail.com>

 app-misc/cheat/cheat-3.9.0-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/app-misc/cheat/cheat-3.9.0-r1.ebuild 
b/app-misc/cheat/cheat-3.9.0-r1.ebuild
index 5644e85..ab71b17 100644
--- a/app-misc/cheat/cheat-3.9.0-r1.ebuild
+++ b/app-misc/cheat/cheat-3.9.0-r1.ebuild
@@ -99,6 +99,13 @@ BDEPEND="
 "
 RDEPEND="zsh-completion? ( !app-shells/zsh-completions )"
 
+src_test() {
+       # we can't use the default behavior
+       # since the check rule performs formatting
+       # with a non-standard go tool
+       emake test
+}
+
 src_install() {
        dobin "dist/${PN}"
        if use zsh-completion; then

Reply via email to