summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Abdel-Qader <abdelqaderali@protonmail.com>2021-02-20 22:23:29 -0500
committerNick Sarnie <sarnex@gentoo.org>2021-02-20 23:30:57 -0500
commitf531a96479091fb18f0ac85997ae965f26b37542 (patch)
treef45a38093a8b3bbad853ab3a7eccd5f220ab5967 /dev-libs/tree-sitter
parentmedia-gfx/gthumb: Stabilize 3.10.2 amd64, #743865 (diff)
downloadgentoo-f531a96479091fb18f0ac85997ae965f26b37542.tar.gz
gentoo-f531a96479091fb18f0ac85997ae965f26b37542.tar.bz2
gentoo-f531a96479091fb18f0ac85997ae965f26b37542.zip
dev-libs/tree-sitter: Version bump to 0.18.2
Signed-off-by: Ali Abdel-Qader <abdelqaderali@protonmail.com> Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'dev-libs/tree-sitter')
-rw-r--r--dev-libs/tree-sitter/Manifest1
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.18.2.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter/Manifest b/dev-libs/tree-sitter/Manifest
index 19ef33254855..a4a52faaecd8 100644
--- a/dev-libs/tree-sitter/Manifest
+++ b/dev-libs/tree-sitter/Manifest
@@ -1,3 +1,4 @@
DIST tree-sitter-0.17.3.tar.gz 519006 BLAKE2B 81eb9bdfc9f27e7b172b6c17333eece5515cf292d5b08eb5362f108db483e329ff6d309ccc40ef2de23d1a32c437cdbc1b9cf800146902a3d913feecf8b63269 SHA512 48a827d7bea184a84ad9f594bc5dc1869bad9aa2823f83d1ac7d58e6feaa092e7088e7eb0dcc6d3aa3810d25ff9f25ecb531751c77314ff7d07fa05f95b7a013
DIST tree-sitter-0.18.0.tar.gz 521866 BLAKE2B 16fdfa721b6895f4945f02875f6ffc8ba6931bb822ad0c7666e302d9a67fa0260ca09e8add6eae5cd5b37a3251dbfca7feb9581a78bb8385cf9466fc07745f49 SHA512 ba090b5136330e24ff3c23f3f9f98af197bddf5ed56fb4930fbbfac317ba5ebd02488afe6c1f35afa45e324baa785569f4fbdb1b8ca020f4bea5e22d9fc76aa8
DIST tree-sitter-0.18.1.tar.gz 524193 BLAKE2B 500ad9dbb40bf7fbc3fb1da9012c7a3236aa05397571040a08494ea48810d491fe15593106b1f4dbcee45ecee3765b088e1e41afd2def3487acf2273cfce5bb2 SHA512 b78af07f29bfd53e394103260bfc8645ddd5d3247429cbb9b00b8a79a8006f2b0c98ab66fa6f59ab1312cc875aeb9f3e17f3c05ca65aead8e5f6e3ba7eb1cca3
+DIST tree-sitter-0.18.2.tar.gz 2856990 BLAKE2B 31bb67aa1645d06b14b5dfd3b45c978da8850b42352204174fb7966b3185adf1301e9c8150ddb999f074d05ef965d1e26555a750f7f77671e03e6a2821a89cef SHA512 fe385f28ce28d96538d0779d3d69f49c6183732f48ae0e979d41d1298e7c87f259604f9f2eca2a07c424a4840fa29a38051845ead797325f748d251250ffb836
diff --git a/dev-libs/tree-sitter/tree-sitter-0.18.2.ebuild b/dev-libs/tree-sitter/tree-sitter-0.18.2.ebuild
new file mode 100644
index 000000000000..62e7c8355b29
--- /dev/null
+++ b/dev-libs/tree-sitter/tree-sitter-0.18.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tree-sitter is a parser generator tool and an incremental parsing library."
+HOMEPAGE="https://github.com/tree-sitter/tree-sitter"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-No-static-libs-gentoo.patch"
+)
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install
+}