From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 794B11382C5 for ; Tue, 2 Mar 2021 04:44:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C923CE09BF; Tue, 2 Mar 2021 04:44:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98614E09BF for ; Tue, 2 Mar 2021 04:44:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B259334120D for ; Tue, 2 Mar 2021 04:44:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 663FE46B for ; Tue, 2 Mar 2021 04:44:20 +0000 (UTC) From: "Nick Sarnie" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nick Sarnie" Message-ID: <1614660250.fcc823098f5644e2c3eb12bc0fc4a8c99d0fc56a.sarnex@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/tree-sitter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/tree-sitter/Manifest dev-libs/tree-sitter/tree-sitter-0.19.0.ebuild X-VCS-Directories: dev-libs/tree-sitter/ X-VCS-Committer: sarnex X-VCS-Committer-Name: Nick Sarnie X-VCS-Revision: fcc823098f5644e2c3eb12bc0fc4a8c99d0fc56a X-VCS-Branch: master Date: Tue, 2 Mar 2021 04:44:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d79bff6-342b-456f-80fc-d34796874d37 X-Archives-Hash: bb7bf8229a34e41d1df74f429ef7e406 commit: fcc823098f5644e2c3eb12bc0fc4a8c99d0fc56a Author: Ali Abdel-Qader protonmail com> AuthorDate: Tue Mar 2 04:40:56 2021 +0000 Commit: Nick Sarnie gentoo org> CommitDate: Tue Mar 2 04:44:10 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc82309 dev-libs/tree-sitter: Bump to 0.19.0 Signed-off-by: Ali Abdel-Qader protonmail.com> Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Nick Sarnie gentoo.org> dev-libs/tree-sitter/Manifest | 1 + dev-libs/tree-sitter/tree-sitter-0.19.0.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/dev-libs/tree-sitter/Manifest b/dev-libs/tree-sitter/Manifest index 89e8f45baa1..00406adbfd7 100644 --- a/dev-libs/tree-sitter/Manifest +++ b/dev-libs/tree-sitter/Manifest @@ -1,3 +1,4 @@ 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 DIST tree-sitter-0.18.3.tar.gz 2860203 BLAKE2B 77d0fe53140602759a1039fc0bb600765ee4115e30fa26290f19c296f2b3941d0d42986344f11916266b6c46ac0250f94d1a1b01a6f074da36cee34c1c942165 SHA512 b669a499f826eb51fe51cbf93fd9bee6cd17ec3d628a2b7c4359c6b8d60390ce9d348a9d7470d5faa82c937d8afb720b596ce5e7b553943345cf1f79d74a2d79 +DIST tree-sitter-0.19.0.tar.gz 2861471 BLAKE2B acb1ff34c2ce4bc3995f59569f1ffa153c76013701eb04b834ac041efe6a533397bf2d540b55c27182194a0dbe285698927f29a2be001add8235ae4357e15e2a SHA512 c5315b1b452303d0a2ef2e710cb282c303649464c0d0ca41380fef2a26f551a6b6166991f6fcf48a5a9c046871d368c062d1354fd0e1f327509c4b554ac8731e diff --git a/dev-libs/tree-sitter/tree-sitter-0.19.0.ebuild b/dev-libs/tree-sitter/tree-sitter-0.19.0.ebuild new file mode 100644 index 00000000000..62e7c8355b2 --- /dev/null +++ b/dev-libs/tree-sitter/tree-sitter-0.19.0.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 +}