summaryrefslogtreecommitdiff
path: root/dev-libs/tree-sitter
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/tree-sitter')
-rw-r--r--dev-libs/tree-sitter/Manifest16
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.22.2.ebuild51
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.22.6.ebuild2
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild2
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.23.2.ebuild (renamed from dev-libs/tree-sitter/tree-sitter-0.22.5.ebuild)2
-rw-r--r--dev-libs/tree-sitter/tree-sitter-0.24.3.ebuild (renamed from dev-libs/tree-sitter/tree-sitter-0.22.4-r1.ebuild)9
-rw-r--r--dev-libs/tree-sitter/tree-sitter-9999.ebuild2
7 files changed, 16 insertions, 68 deletions
diff --git a/dev-libs/tree-sitter/Manifest b/dev-libs/tree-sitter/Manifest
index c7006f8d402d..630a3beb690a 100644
--- a/dev-libs/tree-sitter/Manifest
+++ b/dev-libs/tree-sitter/Manifest
@@ -1,13 +1,11 @@
AUX tree-sitter-0.22.2-no-static.patch 952 BLAKE2B f961ad07850be8c7a7535eac82e234aa236ee7499d2a6e2ea5ee23636bb92f78017b29e74a3ae452f0a4f13611838a5ed4d1b397b1410749264f7e80715d8ac6 SHA512 7d06011b5f5068eb94891d9e116a5d6a3d3023fae999a9766cc19309ae2a4a33d4722074d313efcd87231794ef79d18907e468299da7de4fc4edaacbb9cbc9eb
-DIST tree-sitter-0.22.2.tar.gz 3040339 BLAKE2B c18a79b4fdf553c50b4dd4c67c92d02fd341c5266c4658eb226d9ea455f23d2d22fe4ed4ca48811da2c8a59c403d8eff53dd9257468df7a9cfa640652c485c95 SHA512 a42d744f6e1db7c7c842804f3435b87ccb5d0df2363a18eee38353f12f18c8cf0c6211bf0225fd5f2c0431ca8531aa4ddd73d87d42b80fa35c3c701cae2d7856
-DIST tree-sitter-0.22.4.tar.gz 3034955 BLAKE2B 797feb6e2171b0e00b10c67c8b6dcda6cc2ec420ef797991a642524982629496e4b7bcae92a2658ba3adffea75332bcda09ecbced01e73e13ba6f4c39d15e9ea SHA512 7f160e88cdffb47f4ee3f884385ec759fcf88883307221ddadd8bf561d1dfb3659b0c7f4b216286066cf912183cc8234788492d62d1f1ad14fcb39bd3287cf36
-DIST tree-sitter-0.22.5.tar.gz 3035094 BLAKE2B f54b16e2421ad68fd34b5bada767010be4224652f5a138f7afcdbc15ebaae98dfe3cc8ac77e5e8e5ab12cef516464d29e38a23fc895fa966d5a03a9569fa5ffc SHA512 cff3902e8f6e0211b6d4fafecf9f0d73a2bf73efed68df0d6e8798aac3e685cbcc882fb698ebc10115e72bcf46b59aabd0b14dd402a08d3b42cfceffea5aab2c
DIST tree-sitter-0.22.6.tar.gz 3036954 BLAKE2B f109a738214882e63a721e8db384fa42a624af78d42ceb9ab7a45135b36cf3bbbd2554f470ca5038404365f5b9dbf9979c4d26309e123a9d9533feb1f0a3f724 SHA512 bf0b87bb9ce16b049824e53933986ac451a7b7f432df39ee9d4546627d740ae689af9e838a53cc50e29d66d6d85d51dab7490d66a429a14bcc9d0b8e2935a63a
DIST tree-sitter-0.23.0.tar.gz 2977346 BLAKE2B e10846d5bd0a6aa1ecac362e2ab2ccf0f0bdb17c5fde796d8d65f8bc84a6e054d86c18a42e66e8effef865f95013c38ff6bd6ab5498a680ae172d7d57020604e SHA512 ab821be564ac7223cc4f9659c08922a78016af9dd3bd69166706fb6a889ac175ba2712a337a1303aceb8f44beaf58640a183e77dddc2c57e35da23079d0cd7b9
-EBUILD tree-sitter-0.22.2.ebuild 1142 BLAKE2B e42075b38192191fccf183543de4b502b074c09bdac20c050823f43bdacf130b6bb55681f6ff30eaab2b6f4aa682a36ff9340bcfb202ac90d37ca0faf8e06ded SHA512 8e4b1ba04249d49d972cf775b319ab48ffbb83bdcd15ec90cee536578669c8dbb6c3c0919ddad52e40f90f35d98bca39c062cb3d05be6b14120e73b0c22a3adb
-EBUILD tree-sitter-0.22.4-r1.ebuild 1167 BLAKE2B 0c741d26c7ddea422b5a5a5a94606e6b0c6450f1e7b8d3dd59bb8e685f8cc83606969ff519b7668e64f4acb4dee8f33e15b73d4b3cfd98c1d2636372ef77f746 SHA512 21f01d2f7139b5edf50de4c363da3d2943a73abe984daa66833c965b72232d930fde2b07281b7967e07abc8b5f88cad45d8d87b3f303ee312036e2a986158ac9
-EBUILD tree-sitter-0.22.5.ebuild 1241 BLAKE2B 2648b6c2c4e6ba75d7cff187b146db2376ff11f54fcb43f260060cc9d146e23fb33e56b8291594e1f924f63e021b382474e709574fee4cbb344a171ac8f78ef6 SHA512 9e51593853075a6d7e6c2223ba80133d81acd8fa8b0e8edc99b371c004b7b22e8b1513950c172fe2234f28ff9f8b2e545ba2c53725f2b470ed72b2e55b790e6f
-EBUILD tree-sitter-0.22.6.ebuild 1247 BLAKE2B fa33f9f66f7aadce2694bfe878814792a8ee5cd5edb236993a1c4687087c02f0c9ab5df8a6da6b64b978738d9b2ac288470957ba54536805552f6fa2f1720192 SHA512 4aa73984020ca74092649a71e62e6e1c075bd50bf97046bd4ee123245b51f932cbc725fdfbc2b632e37ef8996b04f5d393779df7ce84f80377aaf560f04c7f4d
-EBUILD tree-sitter-0.23.0.ebuild 1255 BLAKE2B 60b4fcfd12718c9fd9885de2c7239a993e09593e7863afbd1a417e89ea97c6ebaff9ca0c0a917e168de2389dc2f3d843903a684c78ffe2ac6d3cd988bcd4313d SHA512 cefa12c8a8ef0f352ca979c22f7120f019a480d4c71deb30f1fb575c010d868bcdd88088b8954708f63fb0213f88f0847ef4c8665261d0fa25696d63d397f1da
-EBUILD tree-sitter-9999.ebuild 1249 BLAKE2B c6e591aa89ecdc32bfcdfed3469cf0d43cbcceabafe86b98e9d89a0674c6359fbea3014590796651d6795f2cb672acf2018c668a866415ef72d1fec1d7f3f7c8 SHA512 138216c37fb57110956423627e4a72593dcfc147cc6f78796aba7268df7ffa1ef770ea06cf6a9d0f8d5a45a05a6e3033872a9e3bd9b4fbdec6daaf7a4f90858c
+DIST tree-sitter-0.23.2.tar.gz 2980520 BLAKE2B 54b4ad96948fc3ec6142da998306f9385ce9107a7c330915bbb733c5886a0baa869a675602be99aa4a491c58a1121d30f654856ce0f2dee0eff4c4fcce370f24 SHA512 393fa62fe6bce51ff5498f977bbb357fd896aaf98d80f08d4faed6dcf8fd5d41012a7489816c662c1873595108c30d0c18d7721a535c69d9904b2220fef8f858
+DIST tree-sitter-0.24.3.tar.gz 3018668 BLAKE2B fa703b6250e11274d0c5ebccb741cc41f521cc5e882383d8f891369540ce6b3b4b048eddb4d0c88186e57516e2d01977e76b42352f26759b3f6093a339cc6a11 SHA512 2d934c03b0ee71419654d03bf6e4ca759b4ef3217b8837fcaef64ee5b4bc8ea8298ff685ae4aaa477b615d11d538ff960b92529b11f13e936b85bad52e369cd3
+EBUILD tree-sitter-0.22.6.ebuild 1241 BLAKE2B bc8ad59cee96fd6125e5e4ea523d28e70312ab86beaf1460c187dacbd03f1bcc5acffdc0ec45b5191045b446c81350fa3612baade638ec9a5c4434cd0a36793a SHA512 efe4fd10c292f2d64167c64227c5891408246b41b51ffd457c7329b7a98989186b9a8e341a36a4869362d614dce53b01ecd1b473a3f1ade1c54ba5af6e66d97f
+EBUILD tree-sitter-0.23.0.ebuild 1242 BLAKE2B 7dbfdb0c638fd6d4a47f310e9f263865a0e480d01e09f72901c313b28172227b0ab27b253b1786f108d1c0b1a9c635be0b2034da7d5f7c57158b67a88091acdf SHA512 c20488e8e62ef51d6148e5f7cfd8ee25a4c4ccdd1df0564ea81a64e64a6ee5aa7b20cd9f6bd8084267c94bbb80313f3e0144b7ee0e4ccfabe399a5e2768f1dd2
+EBUILD tree-sitter-0.23.2.ebuild 1249 BLAKE2B d681c9bf1fdb3c36d9835fa9d20a9872a3ecb88a5096df826e83a0c867511b4a223b248274371ba703e261baad625e79359b0788556b2433b11965e032a5c69b SHA512 25c3ba53544d06643e4361188995c2bb56e58b883954e13cc033b454c8d6a8ef2cbfde1142feb1418f00d55a9c8b2504d85cf70445bedeabbf7e0f08a1a48ff9
+EBUILD tree-sitter-0.24.3.ebuild 1249 BLAKE2B d681c9bf1fdb3c36d9835fa9d20a9872a3ecb88a5096df826e83a0c867511b4a223b248274371ba703e261baad625e79359b0788556b2433b11965e032a5c69b SHA512 25c3ba53544d06643e4361188995c2bb56e58b883954e13cc033b454c8d6a8ef2cbfde1142feb1418f00d55a9c8b2504d85cf70445bedeabbf7e0f08a1a48ff9
+EBUILD tree-sitter-9999.ebuild 1243 BLAKE2B fab065045722c41fb421ed07e8c31025355d92505f8188f915a722a99eb5606f9a77fe11404d46a53c7d29a3601bdc3b4d3bce9cd9cad4a418d6d832d195ee53 SHA512 5c941e9beda07f69606c1e6ae6e1d519238e10274c4efa5220952725f3324e6d184509089d7a6993b7772e1ddc0d6d69696c5167687ba25cdc0b71bc2cd06d09
MISC metadata.xml 925 BLAKE2B 31cf13ceae402283a343b7c94cbf2cb2af6eb24a703b77580630f315912060da6174957722587713543cb4bc4948cdd21849718ba3ebfe662c156b36bf4d6842 SHA512 b137c7af0d4e025b6448b3723d432498944ef047e314a6f10324e6beac2c480b05bdd5ade12f192ffb5c9bfca8f3dc65aaaa9bfcd26f585d6df8b74c3986ab98
diff --git a/dev-libs/tree-sitter/tree-sitter-0.22.2.ebuild b/dev-libs/tree-sitter/tree-sitter-0.22.2.ebuild
deleted file mode 100644
index 66553bca39a7..000000000000
--- a/dev-libs/tree-sitter/tree-sitter-0.22.2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Bump tree-sitter-cli at the same time.
-
-EAPI=8
-
-inherit optfeature toolchain-funcs
-
-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/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
-fi
-
-LICENSE="MIT"
-SLOT="0"
-RESTRICT="test" # tests are for CLI and not the lib
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.22.2-no-static.patch"
-)
-
-src_prepare() {
- default
- tc-export CC
-}
-
-src_compile() {
- emake \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- STRIP="" \
- CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- install
-}
-
-pkg_postinst() {
- optfeature "building and testing grammars" dev-util/tree-sitter-cli
-}
diff --git a/dev-libs/tree-sitter/tree-sitter-0.22.6.ebuild b/dev-libs/tree-sitter/tree-sitter-0.22.6.ebuild
index a358fddea76f..1d00b3ac7395 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.22.6.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.22.6.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
fi
LICENSE="MIT"
diff --git a/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild b/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild
index e8a13d2615fa..55dd51a2da33 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.23.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
fi
LICENSE="MIT"
diff --git a/dev-libs/tree-sitter/tree-sitter-0.22.5.ebuild b/dev-libs/tree-sitter/tree-sitter-0.23.2.ebuild
index 15f132d978a3..765a16ffae30 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.22.5.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.23.2.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
fi
LICENSE="MIT"
diff --git a/dev-libs/tree-sitter/tree-sitter-0.22.4-r1.ebuild b/dev-libs/tree-sitter/tree-sitter-0.24.3.ebuild
index d9718e3f31d5..765a16ffae30 100644
--- a/dev-libs/tree-sitter/tree-sitter-0.22.4-r1.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-0.24.3.ebuild
@@ -12,13 +12,14 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
fi
LICENSE="MIT"
-# soname is .0, but abi was broken unexpectedly
-# Bug #930039
-SLOT="0/1"
+# ABI is not stable. Revisit after tree-sitter-1.0.
+# https://bugs.gentoo.org/930039
+# https://github.com/tree-sitter/tree-sitter/pull/3302
+SLOT="0/${PV}"
RESTRICT="test" # tests are for CLI and not the lib
PATCHES=(
diff --git a/dev-libs/tree-sitter/tree-sitter-9999.ebuild b/dev-libs/tree-sitter/tree-sitter-9999.ebuild
index 178a494dffc9..b85048c678f9 100644
--- a/dev-libs/tree-sitter/tree-sitter-9999.ebuild
+++ b/dev-libs/tree-sitter/tree-sitter-9999.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
fi
LICENSE="MIT"