New dependency for neovim. I would rather not maintain this package, as I am only trying to fix #1225887

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-query?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2024-06-21 14:17:41 +00:00 committed by Git OBS Bridge
commit 0b9291b42d
7 changed files with 97 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/tree-sitter-grammars/tree-sitter-query.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/v0.4.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="tar" mode="buildtime" />
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="buildtime" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d337fab392cda992c50e96161260cf27d427a378c21c5511d6ccf5213746d92
size 333323

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Jun 21 11:18:02 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- initial packaging

View File

@ -0,0 +1,4 @@
name: tree-sitter-query
version: 0.4.0
mtime: 1716717270
commit: f767fb0ac5e711b6d44c5e0c8d1f349687a86ce0

47
tree-sitter-query.spec Normal file
View File

@ -0,0 +1,47 @@
#
# spec file for package tree-sitter-query
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name query
Name: tree-sitter-%{_name}
Version: 0.4.0
Release: 0
Summary: TS query grammar for tree-sitter
License: Apache-2.0
URL: https://github.com/tree-sitter-grammars/tree-sitter-query
Source: %{name}-%{version}.tar.xz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
%description
A tree-sitter parser for tree-sitter query files (scheme-like).
%prep
%autosetup -p1
%build
%treesitter_configure
%treesitter_build
%install
%treesitter_install
%files
%license LICENSE
%doc README.md
%{treesitter_files}
%changelog