diff options
author | Ali Abdel-Qader <abdelqaderali@protonmail.com> | 2021-03-16 16:55:31 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2021-03-16 17:08:01 -0400 |
commit | 70d2cee10fbb99bff95d972f136a08b9d4955ad7 (patch) | |
tree | ef95beeac1b1797cafb183275ccfa7fc7bd3e30e /dev-libs/tree-sitter | |
parent | dev-python/pandas: Also block xlwt, due to broken tests (diff) | |
download | gentoo-70d2cee10fbb99bff95d972f136a08b9d4955ad7.tar.gz gentoo-70d2cee10fbb99bff95d972f136a08b9d4955ad7.tar.bz2 gentoo-70d2cee10fbb99bff95d972f136a08b9d4955ad7.zip |
dev-libs/tree-sitter: Bump to 0.19.3
Signed-off-by: Ali Abdel-Qader <abdelqaderali@protonmail.com>
Package-Manager: Portage-3.0.17, 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/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/tree-sitter/tree-sitter-0.19.3.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/tree-sitter/Manifest b/dev-libs/tree-sitter/Manifest index 7bd71334b896..e3086df768b9 100644 --- a/dev-libs/tree-sitter/Manifest +++ b/dev-libs/tree-sitter/Manifest @@ -1,2 +1,3 @@ DIST tree-sitter-0.19.0.tar.gz 2861471 BLAKE2B acb1ff34c2ce4bc3995f59569f1ffa153c76013701eb04b834ac041efe6a533397bf2d540b55c27182194a0dbe285698927f29a2be001add8235ae4357e15e2a SHA512 c5315b1b452303d0a2ef2e710cb282c303649464c0d0ca41380fef2a26f551a6b6166991f6fcf48a5a9c046871d368c062d1354fd0e1f327509c4b554ac8731e DIST tree-sitter-0.19.2.tar.gz 2864890 BLAKE2B b3c8a79ed5fa5749b5b824c03a7ae451c08d28c6f2f23a17e0b4b77d7c7c834a067025e3f8da7af75ee54773c186e394fb5cfac37d370e4a9f9489eb9ad7df19 SHA512 f021b44ca78f6855d0362eca122c01d0134ce376f6123547201abc86490276134b650f33a600dc72dc12916bb14e3b5c3814c480d4e789dec7f39bbd3175bd65 +DIST tree-sitter-0.19.3.tar.gz 2865501 BLAKE2B 0a2480457e7b82dcbd3217ef7f36f10db9dd07f277bd8318642867135d7f54a8fed6207f2017b125c7a8f9155040518e58cdb2a70504928896f0be9da3bf89a9 SHA512 49997fc69249a7fa935cf8a66d44bf4ba8dc8f19e56d3e0ea3ff08ed4bf2334b274b1d119989bdc7d693b284148cf7537e5f2acf5708661232bcb03f8a52c552 diff --git a/dev-libs/tree-sitter/tree-sitter-0.19.3.ebuild b/dev-libs/tree-sitter/tree-sitter-0.19.3.ebuild new file mode 100644 index 000000000000..62e7c8355b29 --- /dev/null +++ b/dev-libs/tree-sitter/tree-sitter-0.19.3.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 +} |