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-lua?expand=0&rev=1
This commit is contained in:
commit
2d7286e7f9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/Azganoth/tree-sitter-lua.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">refs/tags/v2.1.3</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>
|
3
tree-sitter-lua-2.1.3.obscpio
Normal file
3
tree-sitter-lua-2.1.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b71403df6fe7082f5b2e756a41ef2d81ba15d0c66fcd2907f3bcf3c40b417c7c
|
||||
size 464395
|
4
tree-sitter-lua.changes
Normal file
4
tree-sitter-lua.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 11:41:48 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||
|
||||
- initial packaging
|
4
tree-sitter-lua.obsinfo
Normal file
4
tree-sitter-lua.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: tree-sitter-lua
|
||||
version: 2.1.3
|
||||
mtime: 1660452210
|
||||
commit: 6b02dfd7f07f36c223270e97eb0adf84e15a4cef
|
48
tree-sitter-lua.spec
Normal file
48
tree-sitter-lua.spec
Normal file
@ -0,0 +1,48 @@
|
||||
#
|
||||
# spec file for package tree-sitter-lua
|
||||
#
|
||||
# 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 lua
|
||||
Name: tree-sitter-%{_name}
|
||||
Version: 2.1.3
|
||||
Release: 0
|
||||
Summary: Lua grammar for tree-sitter
|
||||
License: MIT
|
||||
URL: https://github.com/Azganoth/tree-sitter-lua
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: tree-sitter
|
||||
%treesitter_grammars %{_name}
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%treesitter_configure
|
||||
%treesitter_build
|
||||
|
||||
%install
|
||||
%treesitter_install
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{treesitter_files}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user