1
0

- Update to version 0.1.2.41.febf48a:

* remove queries from rust binding
  * bump rust binding dependencies and reorder highlights queries accordingly
  * don't mark my Makefile as linguist-generated
  * include package-lock.json in version control
  * include tree_sitter/parser.h as local header

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-qmljs?expand=0&rev=5
This commit is contained in:
Björn Bidar 2024-07-07 14:16:01 +00:00 committed by Git OBS Bridge
commit 98ed0277b7
7 changed files with 134 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

18
_service Normal file
View 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 &#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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:656eb42c051496074841250f1ad604b1cf68942bbc17e3e37fa2aed9edcb73bb
size 900684

View File

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

35
tree-sitter-qmljs.changes Normal file
View File

@ -0,0 +1,35 @@
-------------------------------------------------------------------
Sun Jul 07 13:53:19 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
- Update to version 0.1.2.41.febf48a:
* remove queries from rust binding
* bump rust binding dependencies and reorder highlights queries accordingly
* don't mark my Makefile as linguist-generated
* include package-lock.json in version control
* include tree_sitter/parser.h as local header
-------------------------------------------------------------------
Mon Apr 29 22:07:09 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>
- Update to version 0.1.2.27.239f262:
* 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
-------------------------------------------------------------------
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

51
tree-sitter-qmljs.spec Normal file
View File

@ -0,0 +1,51 @@
#
# spec file for package tree-sitter-qmljs
#
# 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.41.febf48a
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
%check
%files
%{treesitter_files}
%license LICENSE
%changelog