mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/tree-sitter-erlang: new package; add 0.19
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
1
dev-libs/tree-sitter-erlang/Manifest
Normal file
1
dev-libs/tree-sitter-erlang/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tree-sitter-erlang-0.19.gh.tar.gz 194697 BLAKE2B 8a84507b3be64ed766c0a02a8ac392a9222954bfc8c18451f723957ad1e787a3202d5775ce8084b15cd4ad5f1fb1189a772ebc7359ecccdd0e31e4084c16924e SHA512 58233cc2a6645e92071540c29bb6136fb65f0b4b0749c7936b9a465c212a31f7da26cb4f203bd84607df67fe9b92c7111d0b635261a90f186ae9e839e56e1f67
|
||||
13
dev-libs/tree-sitter-erlang/metadata.xml
Normal file
13
dev-libs/tree-sitter-erlang/metadata.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/whatsapp/tree-sitter-erlang/issues/</bugs-to>
|
||||
<remote-id type="github">whatsapp/tree-sitter-erlang</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
27
dev-libs/tree-sitter-erlang/tree-sitter-erlang-0.19.ebuild
Normal file
27
dev-libs/tree-sitter-erlang/tree-sitter-erlang-0.19.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user