2 Commits

Author SHA256 Message Date
990200fe58 Accepting request 1229626 from editors:tree-sitter
- update to 0.23.4:
  * fix: tag query
  * fix: correct raw string literal parsing
  * feat: improve tags query
- update to 0.23.3:
  * build: update bindings
- update to 0.23.2:
  * build: update bindings
  * chore: generate
  * feat: add string content nodes
  * build: update bindings
  * chore: regenerate
  * feat: add fields in keyed_element
- update to 0.23.1:
  * build: update bindings (again)
- update to 0.23.0:
  * fix: hide newline tokens
  * fix(go): correct test
  * fix(go): move go.mod to root dir
  * fix(go): correct module path
- update to 0.21.2:
  * nothing relevant
- update to 0.21.1:
  * chore: generate
  * feat: add var_spec_list
  * fix: the name field should not include commas
  * fix: allow special argument lists to be omitted in case it's a local
  * fix: rename highlights query constant
- add neovim links
- switch to download_files service

OBS-URL: https://build.opensuse.org/request/show/1229626
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-go?expand=0&rev=3
2024-12-11 20:02:48 +00:00
Richard Rahl
443fd34473 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-go?expand=0&rev=1 2024-12-05 08:13:21 +00:00
5 changed files with 56 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-go.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:62db032399323a2dfd4a4386b13024c92db3c742be2f01ab146b7fcfe7d1991e
size 211110

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:967870d7d120e9b760e538aeb8331a72f70ffcca4f1eaf1e1dea5375886d25d2
size 205831

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Wed Dec 4 22:18:28 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.4:
* fix: tag query
* fix: correct raw string literal parsing
* feat: improve tags query
- update to 0.23.3:
* build: update bindings
- update to 0.23.2:
* build: update bindings
* chore: generate
* feat: add string content nodes
* build: update bindings
* chore: regenerate
* feat: add fields in keyed_element
- update to 0.23.1:
* build: update bindings (again)
- update to 0.23.0:
* fix: hide newline tokens
* fix(go): correct test
* fix(go): move go.mod to root dir
* fix(go): correct module path
- update to 0.21.2:
* nothing relevant
- update to 0.21.1:
* chore: generate
* feat: add var_spec_list
* fix: the name field should not include commas
* fix: allow special argument lists to be omitted in case it's a local
* fix: rename highlights query constant
- add neovim links
- switch to download_files service
- add devel package
-------------------------------------------------------------------
Mon Apr 29 21:56:23 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name go
Summary: Go grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.0
%define _name go
Name: tree-sitter-go
Version: 0.23.4
Release: 0
Summary: Go grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-go
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,9 +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