commit: 87ba96cf12d3212f9d40a5d934cc78466af167a0 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Apr 5 08:57:53 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Apr 5 08:58:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ba96cf
dev-libs/tree-sitter-typescript: fix test invocation Closes: https://bugs.gentoo.org/928629 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild b/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild index 3ab5b3028d0d..ac1c2721a6f8 100644 --- a/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild +++ b/dev-libs/tree-sitter-typescript/tree-sitter-typescript-0.20.6.ebuild @@ -12,3 +12,10 @@ S="${WORKDIR}"/${P}/typescript LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" + +src_prepare() { + # fix test corpus path + ln -s ../common test || die + + tree-sitter-grammar_src_prepare +}