Install this version:
emerge -a =dev-libs/tree-sitter-xml-0.7.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/tree-sitter-xml-0.7.0
Or alternatively:
emerge --autounmask-write -a =dev-libs/tree-sitter-xml-0.7.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.7.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
TS_BINDINGS=( python )
DISTUTILS_OPTIONAL=1
inherit tree-sitter-grammar distutils-r1
DESCRIPTION="HTML grammar for Tree-sitter"
HOMEPAGE="https://github.com/tree-sitter/tree-sitter-html"
SRC_URI="https://github.com/tree-sitter-grammars/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=( "${FILESDIR}"/${P}-make.patch )
src_test() {
tree-sitter-grammar_src_test
use python && distutils-r1_src_test
}
python_test() {
epytest bindings/python/tests
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tree-sitter-xml-0.7.0.tar.gz | 98266 bytes | https://github.com/tree-sitter-grammars/tree-sitter-xml/archive/refs/tags/v0.7.0.tar.gz |