summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2023-04-10 15:46:43 +0100
committerMatthew Smith <matthew@gentoo.org>2023-04-10 15:46:51 +0100
commit7eae64eb2525577f3dae1c2c84c9438639900e4d (patch)
treed749fe8e7fd936bdbae4d8f9d3b90231051a49c8 /dev-libs
parentmedia-video/cheese: Version bump to 44.0 (diff)
downloadgentoo-7eae64eb2525577f3dae1c2c84c9438639900e4d.tar.gz
gentoo-7eae64eb2525577f3dae1c2c84c9438639900e4d.tar.bz2
gentoo-7eae64eb2525577f3dae1c2c84c9438639900e4d.zip
dev-libs/tree-sitter-cpp: add 0.20.0_p20230410
Suggested-by: Arsen Arsenović <arsen@gentoo.org> Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/tree-sitter-cpp/Manifest1
-rw-r--r--dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0_p20230410.ebuild22
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter-cpp/Manifest b/dev-libs/tree-sitter-cpp/Manifest
index 2d80f8a4765b..b12e534098fb 100644
--- a/dev-libs/tree-sitter-cpp/Manifest
+++ b/dev-libs/tree-sitter-cpp/Manifest
@@ -1 +1,2 @@
DIST tree-sitter-cpp-0.20.0.tar.gz 504679 BLAKE2B 654f72f7a56a66dccf437ba5a2b2b5f627358ae58aeaafe9a507e0876443937d42b244ddb34b8a72a6723c28e6c10c95851b1fdb2775b3080c344426c0386e4d SHA512 c97d02c8250c93721ed5b951c97cdb1cf6558e20cbef353a33c9937f6b3116e328bbdd4e9e7a70a23dba3e144cbd6318e37ebbb9b6345ac085c62100d09ff34d
+DIST tree-sitter-cpp-0.20.0_p20230410.tar.gz 715821 BLAKE2B fa867ce4e16dd1044007cf366bc711a6eb85dd6fee11796aa32d9bcee4ffbec3b83b7cd56333d5d79c3eb5e6f6e966291626d6edbb7660aed4b4e144caa18e60 SHA512 0d48722962909a708eec0c401e08f71f9eb3e742dc6bbdb0cfc9cb2b31c187b222866f279346de68726811db461f12fa6b1453bafe49d64f6c340a94a6a7abe6
diff --git a/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0_p20230410.ebuild b/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0_p20230410.ebuild
new file mode 100644
index 000000000000..c2c06c5b681a
--- /dev/null
+++ b/dev-libs/tree-sitter-cpp/tree-sitter-cpp-0.20.0_p20230410.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit tree-sitter-grammar
+
+# Upstream has not created a release in a while, and there have been
+# some changes that fix weirdness with Emacs tree-sitter-mode.
+GIT_COMMIT="0b6d0eb9abdf7cea31961cd903eeed5bbd0aae74"
+
+DESCRIPTION="C++ grammar for Tree-sitter"
+HOMEPAGE="https://github.com/tree-sitter/tree-sitter-cpp"
+SRC_URI="https://github.com/tree-sitter/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${GIT_COMMIT}/src
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# requires test data from tree-sitter-c
+RESTRICT="test"