Install this version:
emerge -a =dev-libs/tree-sitter-phpdoc-0.1.8
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/tree-sitter-phpdoc-0.1.8
Or alternatively:
emerge --autounmask-write -a =dev-libs/tree-sitter-phpdoc-0.1.8
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit tree-sitter-grammar
DESCRIPTION="PHPDoc grammar for Tree-sitter"
HOMEPAGE="https://github.com/claytonrcarter/tree-sitter-phpdoc"
SRC_URI="https://github.com/claytonrcarter/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
src_prepare() {
sed -e "s/VERSION := 0.0.1/VERSION := ${PV}/" \
-i Makefile \
|| die "failed to fix VERSION in Makefile"
tree-sitter-grammar_src_prepare
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | tree-sitter-phpdoc-0.1.8.tar.gz | 156671 bytes | https://github.com/claytonrcarter/tree-sitter-phpdoc/archive/refs/tags/v0.1.8.tar.gz |