1
0
Files
tree-sitter-python/tree-sitter-python.spec
Björn Bidar fc77c19bc3 - Update to version 0.21.0:
* fix: don't parse the `l` suffix in floats, allow trailing commas in type parameters
  * feat: improve bindings
  * fix(queries): use last-precedence for highlights
  * fix: regenerate with operator precedence fix

OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter-python?expand=0&rev=3
2024-04-29 22:04:55 +00:00

49 lines
1.2 KiB
RPMSpec

#
# spec file for package tree-sitter-python
#
# 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 python
Summary: Python grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.0
Release: 0
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-python
Source0: %{name}-%{version}.tar.gz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
%description
%{summary}.
%prep
%autosetup -p1
%build
%treesitter_configure
%treesitter_build
%install
%treesitter_install
%files
%license LICENSE
%{treesitter_files}
%changelog