| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: tree-sitter-swift-queries | Distribution: openSUSE Tumbleweed |
| Version: 0.7.3 | Vendor: openSUSE |
| Release: 2.1 | Build date: Tue Sep 15 10:49:51 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 11564 | Source RPM: tree-sitter-swift-0.7.3-2.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/alex-pinkus/tree-sitter-swift | |
| Summary: Tree-sitter queries of the tree-sitter-swift grammars | |
The queries upstream ships for the grammars of tree-sitter-swift (highlights.scm and whatever else the grammar carries), in /usr/share/tree-sitter/queries/<grammar>/, for consumers that highlight with the grammar's own queries: opencode with the -wasm modules, or an editor pointed at that directory.
MIT
* Tue Sep 15 2026 Martin Pluskal <mpluskal@suse.com>
- Ship the grammar queries in a new noarch -queries subpackage
(highlights.scm and friends, next to the -wasm modules)
* Mon Sep 14 2026 Martin Pluskal <mpluskal@suse.com>
- Build the grammars to WebAssembly modules as well (BuildRequires
clang, lld and wasi-libc): new -wasm subpackage for
web-tree-sitter consumers
* Thu Aug 20 2026 Martin Pluskal <mpluskal@suse.com>
- Convert the Python binding to the shared loader:
* Drop %treesitter_python_build; keep
%treesitter_python_install only
* Generated _binding.py loads the grammar library this
package ships, so the parser is not compiled a second
time
* Drop python devel/installer/pip/setuptools/wheel
BuildRequires; keep python-rpm-macros, fdupes and
%{python_module base}
* Pin python-%{name} to %{name} = %{version}-%{release}
- Suggests python-tree-sitter >= 0.22 instead of Requires,
matching tree-sitter-bash, so ring1/product installcheck
does not demand a non-ring package
- Run a functional %check parsing Swift source through the
shim; gated to suse_version >= 1699 because
python-tree-sitter does not exist in Leap 16.0
* Mon Jul 27 2026 Martin Pluskal <mpluskal@suse.com>
- Initial package of tree-sitter-swift 0.7.3:
* Swift grammar library for the tree-sitter parsing
framework (libtree-sitter-swift.so grammar module)
* Python binding built from the bundled bindings/python as
pythonXYZ flavor subpackages via the shared
%treesitter_python_build/_install macros
/usr/share/tree-sitter /usr/share/tree-sitter/queries /usr/share/tree-sitter/queries/swift /usr/share/tree-sitter/queries/swift/folds.scm /usr/share/tree-sitter/queries/swift/highlights.scm /usr/share/tree-sitter/queries/swift/indents.scm /usr/share/tree-sitter/queries/swift/injections.scm /usr/share/tree-sitter/queries/swift/locals.scm /usr/share/tree-sitter/queries/swift/outline.scm /usr/share/tree-sitter/queries/swift/tags.scm /usr/share/tree-sitter/queries/swift/textobjects.scm
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Oct 10 23:44:58 2026