tree-sitter: 0.20.10 -> 0.21.0

This commit is contained in:
Tim Biermann 2024-02-24 12:21:41 +01:00
parent 339287960f
commit 1d80889c81
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 10 additions and 18 deletions

View File

@ -1,12 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/tree-sitter
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/tree_sitter/
-rw-r--r-- root/root usr/include/tree_sitter/api.h
-rw-r--r-- root/root usr/include/tree_sitter/parser.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libtree-sitter.a
-rw-r--r-- root/root usr/lib/libtree-sitter.a
lrwxrwxrwx root/root usr/lib/libtree-sitter.so -> libtree-sitter.so.0.0
lrwxrwxrwx root/root usr/lib/libtree-sitter.so.0 -> libtree-sitter.so.0.0
-rwxr-xr-x root/root usr/lib/libtree-sitter.so.0.0

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/QAhUyWvUCWq8gIDvaKGbf19PMdugmjIeRfgxVkIJGuFU3FepAtIfrXIQ50fDWuyscJgS/GCUoDkVctrpM/XZgM=
SHA256 (Pkgfile) = ae749964ec5fd6d66dc5c1e75cc1ef38989cdd25e196b04663b4f6eebd85c835
SHA256 (.footprint) = 9222341b517fd37145cc0d5c3325641099cec794d34eb960ad342c4bf891348f
SHA256 (tree-sitter-0.20.10.tar.gz) = 243e07541a9dd71681984b65bffed2d4a259bef0a4ad28cff55cc1c6878b8d18
RWSE3ohX2g5d/R+TRjbXibtMYCQ9sjIi6UgCkWMsiUAarK/ULMplvsuyTK06VrmSmSLKjfeMwqSE4ktKoecHEc0UiUWRvUn+AgM=
SHA256 (Pkgfile) = a3422c0b0a9ee7691a09278a227442e345bd8bee454d9d8c2e3a1486e9d370ec
SHA256 (.footprint) = 60375f22afbf7dac54204c41ec59ca7039800b89624cc10ea5eb33518b31052f
SHA256 (tree-sitter-0.21.0.tar.gz) = 14af86f3fd7e730de98db77f83ae5b65c6146f19a46c9a87f35b514912393a53

View File

@ -1,21 +1,16 @@
# Description: An incremental parsing system for programming tools
# URL: https://github.com/tree-sitter/tree-sitter
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: rust
# Depends on:
name=tree-sitter
version=0.20.10
version=0.21.0
release=1
_commit=c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14
source=(https://github.com/tree-sitter/tree-sitter/archive/$_commit/$name-$version.tar.gz)
source=(https://github.com/tree-sitter/tree-sitter/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$_commit
cargo fetch --locked
make
cargo build --release --locked --offline --all-features --manifest-path cli/Cargo.toml
cd $name-$version
make AMALGAMATED=1
make DESTDIR=$PKG PREFIX=/usr install
install -Dm 755 target/release/$name -t $PKG/usr/bin
}