Accepting request 1161534 from home:Thaodan:editors
New package grammar for Qt QML OBS-URL: https://build.opensuse.org/request/show/1161534 OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-qmljs?expand=0&rev=1
This commit is contained in:
commit
0ea2571eb8
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
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<!-- -*- xml -*- !-->
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.%h</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="url">https://github.com/yuja/tree-sitter-qmljs.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="changesauthor">Björn Bidar <bjorn.bidar@thaodan.de></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>
|
3
tree-sitter-qmljs-0.1.2.24.9fa49ff.tar.gz
Normal file
3
tree-sitter-qmljs-0.1.2.24.9fa49ff.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:189a61f54c132c6a0e1844275028938ea851c95dc62e7229f1376904b40eacd9
|
||||
size 894492
|
17
tree-sitter-qmljs.changes
Normal file
17
tree-sitter-qmljs.changes
Normal file
@ -0,0 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 16:34:39 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
|
||||
|
||||
- Initial packaging for openSUSE
|
||||
- Update to version 0.1.2.24.9fa49ff:
|
||||
* bump tree-sitter-typescript to 0.20.5
|
||||
* add test of multi-line string literal
|
||||
* define our set of reserved identifiers to get around "new {}" conflicts
|
||||
* extend reserved identifiers test to include various property name positions
|
||||
* bump tree-sitter-typescript to c604297f8197b468026f2ea32119935887e01c67 (v0.20.3)
|
||||
* use our version of nested_identifier to represent an ImportId
|
||||
* update src/typescript-scanner.h
|
||||
* cargo: fix repository URL (#1)
|
||||
* include queries/*.scm symlinks in master branch (fixes #1)
|
||||
* unexclude generated sources from master branch
|
||||
|
||||
|
49
tree-sitter-qmljs.spec
Normal file
49
tree-sitter-qmljs.spec
Normal file
@ -0,0 +1,49 @@
|
||||
#
|
||||
# spec file for package tree-sitter-qmldir
|
||||
#
|
||||
# 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 qmljs
|
||||
Summary: QML grammar for tree-sitter
|
||||
Name: tree-sitter-%{_name}
|
||||
Version: 0.1.2.24.9fa49ff
|
||||
Release: 0
|
||||
License: MIT
|
||||
Group: Development/Tools/Other
|
||||
URL: https://github.com/yuja/tree-sitter-qmljs
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
BuildRequires: tree-sitter
|
||||
BuildRequires: treesitter_grammar_src(tree-sitter-typescript)
|
||||
%treesitter_grammars %{_name}
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%treesitter_configure
|
||||
%treesitter_build
|
||||
|
||||
%install
|
||||
%treesitter_install
|
||||
|
||||
%files
|
||||
%{treesitter_files}
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user