From 1d80889c81e08731b7ea2af0e4c4e74b6fec2e1e Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 24 Feb 2024 12:21:41 +0100 Subject: [PATCH] tree-sitter: 0.20.10 -> 0.21.0 --- tree-sitter/.footprint | 5 +---- tree-sitter/.signature | 8 ++++---- tree-sitter/Pkgfile | 15 +++++---------- 3 files changed, 10 insertions(+), 18 deletions(-) diff --git a/tree-sitter/.footprint b/tree-sitter/.footprint index 181e5a7e9..7b39d84a4 100644 --- a/tree-sitter/.footprint +++ b/tree-sitter/.footprint @@ -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 diff --git a/tree-sitter/.signature b/tree-sitter/.signature index 31ff78cf4..9f7306813 100644 --- a/tree-sitter/.signature +++ b/tree-sitter/.signature @@ -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 diff --git a/tree-sitter/Pkgfile b/tree-sitter/Pkgfile index e3ca8acb5..51bf6a6be 100644 --- a/tree-sitter/Pkgfile +++ b/tree-sitter/Pkgfile @@ -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 }