tree-sitter: update to 0.20.7

Explicitly set autocfg version on `cargo update` to 1.0.1 [1].

[1] https://github.com/tree-sitter/tree-sitter/blob/v0.20.7/Cargo.lock#L69
This commit is contained in:
Rodrigo Oliveira 2022-10-25 01:31:18 -03:00 committed by classabbyamp
parent 5098d972a7
commit 4713de1cae

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.6 version=0.20.7
revision=1 revision=1
build_style=cargo build_style=cargo
make_install_args="--path=cli" make_install_args="--path=cli"
@ -9,12 +9,12 @@ 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=4d37eaef8a402a385998ff9aca3e1043b4a3bba899bceeff27a7178e1165b9de checksum=b355e968ec2d0241bbd96748e00a9038f83968f85d822ecb9940cbe4c42e182e
make_check=no # tests require generating fixtures from remote repositories make_check=no # tests require generating fixtures from remote repositories
post_patch() { post_patch() {
# fixes an indexmap error when cross compiling # fixes an indexmap error when cross compiling
cargo update --package autocfg --precise 1.1.0 cargo update --package autocfg:1.0.1 --precise 1.1.0
} }
post_build() { post_build() {