dev-libs/tree-sitter-elixir - 0.3.5 (Miezhiko)

Search

Install

Install this version:

emerge -a =dev-libs/tree-sitter-elixir-0.3.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/tree-sitter-elixir-0.3.5

Or alternatively:

emerge --autounmask-write -a =dev-libs/tree-sitter-elixir-0.3.5

Package Information

Description:
Elixir grammar for Tree-sitter
Homepage:
https://github.com/elixir-lang/tree-sitter-elixir
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.3.5 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

TS_BINDINGS=( python )

inherit tree-sitter-grammar

DESCRIPTION="Elixir grammar for Tree-sitter"
HOMEPAGE="https://github.com/elixir-lang/tree-sitter-elixir"

# Not under the tree-sitter org, unlike most grammars the eclass defaults to.
SRC_URI="https://github.com/elixir-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

src_prepare() {
	tree-sitter-grammar_src_prepare

	# Unlike most grammars' Makefiles, this one's "install" target installs
	# bindings/c/tree-sitter-elixir.h directly, but no "all" (or any other)
	# target ever generates it from the bundled .in template -- an upstream
	# oversight. Render it ourselves the same way the other grammars' own
	# Makefiles do it.
	sed -e 's|@UPPER_PARSERNAME@|ELIXIR|' -e 's|@PARSERNAME@|elixir|' \
		bindings/c/tree-sitter.h.in > bindings/c/tree-sitter-elixir.h || die
}

Inherited Eclasses

Manifest for 0.3.5

Type File Size Source URLs
DIST tree-sitter-elixir-0.3.5.tar.gz 561256 bytes https://github.com/elixir-lang/tree-sitter-elixir/archive/v0.3.5.tar.gz