1
0

4 Commits

Author SHA256 Message Date
48df06a62d Accepting request 1234122 from editors:tree-sitter
- update to 0.23.5:
  * build(npm): update deps
- update to 0.23.6:
  * feat(highlights): highlight decorator names as a function
  * feat: add left and right fields to type_alias_statement
  * feat: allow type in generic types 
  * feat: add fields in except_clause 
  * build(npm): bump deps 
  * chore: regenerate (forwarded request 1234121 from rrahl0)

OBS-URL: https://build.opensuse.org/request/show/1234122
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-python?expand=0&rev=4
2025-01-01 22:07:49 +00:00
Richard Rahl
d118c615e4 - update to 0.23.5:
* build(npm): update deps
- update to 0.23.6:
  * feat(highlights): highlight decorator names as a function
  * feat: add left and right fields to type_alias_statement
  * feat: allow type in generic types 
  * feat: add fields in except_clause 
  * build(npm): bump deps 
  * chore: regenerate

OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-python?expand=0&rev=2
2024-12-31 10:05:15 +00:00
25b6afc466 Accepting request 1229554 from editors:tree-sitter
OBS-URL: https://build.opensuse.org/request/show/1229554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-python?expand=0&rev=3
2024-12-11 20:01:38 +00:00
Richard Rahl
38b5f050b8 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-python?expand=0&rev=1 2024-12-05 08:13:30 +00:00
5 changed files with 61 additions and 29 deletions

View File

@@ -1,18 +0,0 @@
<!-- -*- xml -*- !-->
<services>
<service name="obs_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="revision">@PARENT_TAG@</param>
<param name="url">https://github.com/tree-sitter/tree-sitter-python.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

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b09af6a5df7bc712edc1fa13316d4395e125af089bb13b23fc13eb5306e1734
size 278544

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:630a0f45eccd9b69a66a07bf47d1568e96a9c855a2f30e0921c8af7121e8af96
size 269613

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Tue Dec 31 09:40:40 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.5:
* build(npm): update deps
- update to 0.23.6:
* feat(highlights): highlight decorator names as a function
* feat: add left and right fields to type_alias_statement
* feat: allow type in generic types
* feat: add fields in except_clause
* build(npm): bump deps
* chore: regenerate
-------------------------------------------------------------------
Wed Dec 4 23:18:53 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.4:
* ci(publish): add attestations and generate parser
- update to 0.23.3:
* build: update bindings
- update to 0.23.2:
* chore: regenerate
* build: update bindings
* fix: correct test
- update to 0.23.1:
* build: update bindings
- update to 0.23.0:
* build: regenerate and update bindings
* fix(go): correct test
* fix: move go.mod to root dir
* fix: allow "not in" & "is not" to be queried
* fix: give match the same priority as normal identifiers
* fix: allow octal escapes with 1 to 3 digits
* fix(build): correct Makefile version
* chore: update gitignore & remove build remnant
* build: update makefile for macos installation
- switch to download_files service
- add neovim links
- add devel package
-------------------------------------------------------------------
Mon Apr 29 22:04:04 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name python
Summary: Python grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.0
%define _name python
Name: tree-sitter-python
Version: 0.23.6
Release: 0
Summary: Python grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-python
Source0: %{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
@@ -32,7 +31,7 @@ BuildRequires: tree-sitter
%{summary}.
%prep
%autosetup -p1
%autosetup
%build
%treesitter_configure
@@ -40,9 +39,20 @@ BuildRequires: tree-sitter
%install
%treesitter_install
%treesitter_devel_install
#neovim stuff
install -d %{buildroot}%{_libdir}/tree_sitter
ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
%files
%license LICENSE
%{treesitter_files}
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package
%changelog