Install this version:
emerge -a =dev-libs/tree-sitter-erlang-0.19
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/tree-sitter-erlang-0.19
Or alternatively:
emerge --autounmask-write -a =dev-libs/tree-sitter-erlang-0.19
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.19 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit tree-sitter-grammar
DESCRIPTION="Erlang programming language grammar for Tree-sitter"
HOMEPAGE="https://github.com/whatsapp/tree-sitter-erlang/"
SRC_URI="https://github.com/whatsapp/${PN}/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DOCS=( CHANGELOG.md README.md )
src_prepare() {
rm -r ./pyproject.toml ./test/highlight || die
tree-sitter-grammar_src_prepare
}
src_install() {
tree-sitter-grammar_src_install
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tree-sitter-erlang-0.19.gh.tar.gz | 194697 bytes | https://github.com/whatsapp/tree-sitter-erlang/archive/0.19.tar.gz |