diff --git a/_service b/_service index 02841b3..73abacd 100644 --- a/_service +++ b/_service @@ -1,4 +1,27 @@ + + https://github.com/tree-sitter/tree-sitter + @PARENT_TAG@ + git + ccd6bf554d922596ce905730d98a77af368bba5c + * + v(\d+\.\d+\.\d+) + \1 + enable + socvirnyl.estela@gmail.com + + + + *.tar + xz + + + + tree-sitter + xz + true + + tree-sitter diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/tree-sitter-0.20.4.tar.gz b/tree-sitter-0.20.4.tar.gz deleted file mode 100644 index 49edd48..0000000 --- a/tree-sitter-0.20.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:979ad0b36eb90975baf0c65d155d106276cac08afb1c2fe0ad54d4b7d498ce39 -size 2909707 diff --git a/tree-sitter-0.20.6.tar.xz b/tree-sitter-0.20.6.tar.xz new file mode 100644 index 0000000..6ca008a --- /dev/null +++ b/tree-sitter-0.20.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29bb3cf7aad8a958e82fdda71d152ee0e4877515eb48fba9aa2a7e7357898e89 +size 524176 diff --git a/tree-sitter-vendor.tar.xz b/tree-sitter-vendor.tar.xz deleted file mode 100644 index d1e32c9..0000000 --- a/tree-sitter-vendor.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5652d52a933a8f86dde61f74ddb90fa76104bea9af1601d36fb2ec2625b0d972 -size 8100748 diff --git a/tree-sitter.changes b/tree-sitter.changes index e87c773..6bfd633 100644 --- a/tree-sitter.changes +++ b/tree-sitter.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Jun 19 09:12:46 UTC 2022 - socvirnyl.estela@gmail.com + +- Update to version 0.20.6: + * 0.20.6 + * libs: 0.20.6 + * Properly incorporate lookahead bytes when recovering via missing token + * Improve randomized testing setup + * Run cargo test directly on CI + * Set CLI as default workspace member + * Don't generate primary states array if it will be unused due to abi version setting + * tags: 0.20.2 + * 0.20.5 + * libs: 0.20.5 + ------------------------------------------------------------------- Tue Feb 22 16:46:36 UTC 2022 - Matej Cepl diff --git a/tree-sitter.spec b/tree-sitter.spec index 894d2b4..709c057 100644 --- a/tree-sitter.spec +++ b/tree-sitter.spec @@ -19,17 +19,16 @@ %define somajor 0 %define libdirname tree_sitter Name: tree-sitter -Version: 0.20.4 +Version: 0.20.6 Release: 0 Summary: An incremental parsing system for programming tools License: MIT URL: https://tree-sitter.github.io/ -Source0: https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: tree-sitter-vendor.tar.xz -BuildRequires: nodejs -BuildRequires: npm -# because of gh#meta-rust/cargo-bitbake#13 -BuildRequires: cargo > 1.40 +Source0: https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +BuildRequires: rust > 1.40 Requires: lib%{name}%{somajor} = %{version} %description @@ -64,20 +63,11 @@ developing applications that use %{name}. %prep %autosetup -p1 -a1 - -rm -v docs/.gitignore - -mkdir .cargo -cat >.cargo/config <