gentoo-ebuilds/dev-libs/tree-sitter-markdown-inline/tree-sitter-markdown-inline-0.2.3.ebuild
Sam James cfed3d8b1f
dev-libs/tree-sitter-markdown-inline: Stabilize 0.2.3 amd64, #937986
Signed-off-by: Sam James <sam@gentoo.org>
2024-08-22 03:06:47 +01:00

25 lines
737 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
TS_BINDINGS=( python )
inherit tree-sitter-grammar
MY_PN=tree-sitter-markdown
MY_P=${MY_PN}-${PV}
DESCRIPTION="Markdown-inline grammar for Tree-sitter"
HOMEPAGE="https://github.com/tree-sitter-grammars/tree-sitter-markdown"
SRC_URI="https://github.com/tree-sitter-grammars/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}/${MY_PN}-inline
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
# Running the tests requires extensions to be enabled, but the parser
# generated by upstream does not include the extensions.
# https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/136
RESTRICT="test"