17
0

4 Commits

Author SHA256 Message Date
eb83ea64db Accepting request 1266727 from editors:tree-sitter
- update to 0.24.0:
  * nothing of relevance
- update to 0.23.3:
  * Update tags.scm
  * parse turbofish patterns
  * add `FUNDING.yml
  * parse default const parameters
  * parse use bounds (precise capture syntax)
  * implement range-to patterns
  * fix shebang parsing
  * fix where clauses in type aliases and allow empty where clauses
  * add parsing support for use ::* syntax
  * parse impl types (abstract types) where the lifetime comes first
  * add tuple_type to possible dynamic types
  * parse async closures
  * add expr_2021 and pat_param to fragment_specifier (forwarded request 1266726 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1266727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-rust?expand=0&rev=4
2025-04-03 14:49:56 +00:00
Richard Rahl
21c88d380b - update to 0.24.0:
* nothing of relevance
- update to 0.23.3:
  * Update tags.scm
  * parse turbofish patterns
  * add `FUNDING.yml
  * parse default const parameters
  * parse use bounds (precise capture syntax)
  * implement range-to patterns
  * fix shebang parsing
  * fix where clauses in type aliases and allow empty where clauses
  * add parsing support for use ::* syntax
  * parse impl types (abstract types) where the lifetime comes first
  * add tuple_type to possible dynamic types
  * parse async closures
  * add expr_2021 and pat_param to fragment_specifier

OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-rust?expand=0&rev=2
2025-04-03 00:11:53 +00:00
5396086cad Accepting request 1229565 from editors:tree-sitter
OBS-URL: https://build.opensuse.org/request/show/1229565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-rust?expand=0&rev=3
2024-12-11 20:01:46 +00:00
Richard Rahl
c10cf707b4 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-rust?expand=0&rev=1 2024-12-05 08:13:33 +00:00
5 changed files with 66 additions and 29 deletions

View File

@@ -1,18 +0,0 @@
<!-- -*- xml -*- !-->
<services>
<service name="obs_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">@PARENT_TAG@</param>
<param name="url">https://github.com/tree-sitter/tree-sitter-rust.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">Björn Bidar &#60;bjorn.bidar@thaodan.de&#62;</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97eba3840fdb4c5e2ec7a18c95913917b1c35699d08269112799c91543312133
size 447043

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79c9eb05af4ebcce8c40760fc65405e0255e2d562702314b813a5dec1273b9a2
size 462141

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Thu Apr 3 00:06:48 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.24.0:
* nothing of relevance
- update to 0.23.3:
* Update tags.scm
* parse turbofish patterns
* add `FUNDING.yml
* parse default const parameters
* parse use bounds (precise capture syntax)
* implement range-to patterns
* fix shebang parsing
* fix where clauses in type aliases and allow empty where clauses
* add parsing support for use ::* syntax
* parse impl types (abstract types) where the lifetime comes first
* add tuple_type to possible dynamic types
* parse async closures
* add expr_2021 and pat_param to fragment_specifier
-------------------------------------------------------------------
Wed Dec 4 23:49:30 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.2:
* fix: add gen to _reserved_identifier
* feat: support raw references
* chore: generate
* feat: support gen block syntax
* build: fix lint
- update to 0.23.1:
* build: update bindings
* chore: generate
* build: update bindings
- update to 0.23.0:
* build: update bindings
* fix(go): correct test
* fix: move go.mod to root dir
* chore: generate
* fix: allow shebangs to contain spaces
- switch to download_files service
- add neovim links
- add license file to package
- enable devel package
-------------------------------------------------------------------
Mon Apr 29 22:09:22 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name rust
Summary: Rust grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.2
%define _name rust
Name: tree-sitter-rust
Version: 0.24.0
Release: 0
Summary: Rust grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-rust
Source0: %{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
@@ -32,7 +31,7 @@ BuildRequires: tree-sitter
%{summary}.
%prep
%autosetup -p1
%autosetup
%build
%treesitter_configure
@@ -40,8 +39,20 @@ BuildRequires: tree-sitter
%install
%treesitter_install
%treesitter_devel_install
#neovim stuff
install -d %{buildroot}%{_libdir}/tree_sitter
ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
%files
%{treesitter_files}
%license LICENSE
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package
%changelog