commit 98ed0277b73d13674df61f11d31e68264babece944523e2b2a5837a318f02b85 Author: Björn Bidar Date: Sun Jul 7 14:16:01 2024 +0000 - 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..8faf604 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + + @PARENT_TAG@.@TAG_OFFSET@.%h + v(.*) + master + https://github.com/yuja/tree-sitter-qmljs.git + git + enable + Björn Bidar <bjorn.bidar@thaodan.de> + + + + *.tar + gz + + + diff --git a/tree-sitter-qmljs-0.1.2.27.239f262.tar.gz b/tree-sitter-qmljs-0.1.2.27.239f262.tar.gz new file mode 100644 index 0000000..ef510b6 --- /dev/null +++ b/tree-sitter-qmljs-0.1.2.27.239f262.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:656eb42c051496074841250f1ad604b1cf68942bbc17e3e37fa2aed9edcb73bb +size 900684 diff --git a/tree-sitter-qmljs-0.1.2.41.febf48a.tar.gz b/tree-sitter-qmljs-0.1.2.41.febf48a.tar.gz new file mode 100644 index 0000000..6463512 --- /dev/null +++ b/tree-sitter-qmljs-0.1.2.41.febf48a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ede209489ef551c50799b3a78af678eecdf23052200f7be142f39cea1925d22 +size 597025 diff --git a/tree-sitter-qmljs.changes b/tree-sitter-qmljs.changes new file mode 100644 index 0000000..8990ee1 --- /dev/null +++ b/tree-sitter-qmljs.changes @@ -0,0 +1,35 @@ +------------------------------------------------------------------- +Sun Jul 07 13:53:19 UTC 2024 - Björn Bidar + +- 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 + +- 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 + +- 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 + + diff --git a/tree-sitter-qmljs.spec b/tree-sitter-qmljs.spec new file mode 100644 index 0000000..1697c85 --- /dev/null +++ b/tree-sitter-qmljs.spec @@ -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