tree-sitter: update to 0.20.8

This commit is contained in:
bhagwan 2023-04-07 13:16:08 -07:00 committed by John Zimmermann
parent f659e6a169
commit 254a21edd7
1 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'tree-sitter' # Template file for 'tree-sitter'
pkgname=tree-sitter pkgname=tree-sitter
version=0.20.7 version=0.20.8
revision=1 revision=1
build_style=cargo build_style=cargo
make_install_args="--path=cli" make_install_args="--path=cli"
@ -9,14 +9,9 @@ maintainer="Érico Nogueira <ericonr@disroot.org>"
license="MIT" license="MIT"
homepage="https://tree-sitter.github.io" homepage="https://tree-sitter.github.io"
distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz" distfiles="https://github.com/tree-sitter/tree-sitter/archive/v${version}.tar.gz"
checksum=b355e968ec2d0241bbd96748e00a9038f83968f85d822ecb9940cbe4c42e182e checksum=6181ede0b7470bfca37e293e7d5dc1d16469b9485d13f13a605baec4a8b1f791
make_check=no # tests require generating fixtures from remote repositories make_check=no # tests require generating fixtures from remote repositories
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_build() { post_build() {
# Build libtree-sitter, since do_build builds the tree-sitter CLI. # Build libtree-sitter, since do_build builds the tree-sitter CLI.
make make