Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tree-sitter-bash for 
openSUSE:Factory checked in at 2026-01-15 16:47:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter-bash (Old)
 and      /work/SRC/openSUSE:Factory/.tree-sitter-bash.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tree-sitter-bash"

Thu Jan 15 16:47:37 2026 rev:3 rq:1327303 version:0.25.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/tree-sitter-bash/tree-sitter-bash.changes        
2024-12-11 21:07:30.636920516 +0100
+++ 
/work/SRC/openSUSE:Factory/.tree-sitter-bash.new.1928/tree-sitter-bash.changes  
    2026-01-15 16:49:01.391139574 +0100
@@ -1,0 +2,11 @@
+Wed Jan 14 21:32:47 UTC 2026 - Matej Cepl <[email protected]>
+
+- Update to 0.25.0:
+  - chore: add FUNDING.yml
+  - build(rust): add LICENSE file
+  - fix: remove double parenthesis as valid opening to arithmetic
+    expasion
+  - updates various dependencies
+- Build also python-* subpackage.
+
+-------------------------------------------------------------------

Old:
----
  tree-sitter-bash-0.23.3.tar.gz

New:
----
  tree-sitter-bash-0.25.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tree-sitter-bash.spec ++++++
--- /var/tmp/diff_new_pack.GjCKTe/_old  2026-01-15 16:49:02.003164392 +0100
+++ /var/tmp/diff_new_pack.GjCKTe/_new  2026-01-15 16:49:02.007164554 +0100
@@ -15,21 +15,39 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
+%define python_subpackage_only 1
 %define         _name bash
 Name:           tree-sitter-bash
-Version:        0.23.3
+Version:        0.25.1
 Release:        0
 Summary:        Bash grammar for tree-sitter
 License:        MIT
 URL:            https://github.com/tree-sitter/tree-sitter-bash
 Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  tree-sitter
+
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools >= 42}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
+BuildRequires:  gcc
+BuildRequires:  python-rpm-macros
+BuildRequires:  tree-sitter-devel
+Suggests:       python-tree-sitter >= 0.24
 %treesitter_grammars %{_name}
+%python_subpackages
 
 %description
 %{summary}.
 
+%package -n python-tree-sitter-bash
+Summary:        Python bindings for tree-sitter-bash
+Requires:       %{name} = %{version}
+
+%description -n python-tree-sitter-bash
+Python bindings for tree-sitter-bash.
+
 %prep
 %autosetup
 
@@ -37,6 +55,9 @@
 %treesitter_configure
 %treesitter_build
 
+export CFLAGS="%{optflags}"
+%pyproject_wheel
+
 %install
 %treesitter_install
 %treesitter_devel_install
@@ -45,6 +66,11 @@
 install -d %{buildroot}%{_libdir}/tree_sitter
 ln -s %{_libdir}/lib%{name}.so %{buildroot}%{_libdir}/tree_sitter/%{_name}.so
 
+%pyproject_install
+%{python_expand rm %{buildroot}%{$python_sitearch}/tree_sitter_bash/binding.c
+%fdupes %{buildroot}%{$python_sitearch}
+}
+
 %files
 %license LICENSE
 %treesitter_files
@@ -55,3 +81,8 @@
 
 %treesitter_devel_package
 
+%files %{python_files tree-sitter-bash}
+%license LICENSE
+%{python_sitearch}/tree_sitter_bash
+%{python_sitearch}/tree_sitter_bash-%{version}.dist-info
+

++++++ tree-sitter-bash-0.23.3.tar.gz -> tree-sitter-bash-0.25.1.tar.gz ++++++
++++ 515411 lines of diff (skipped)

Reply via email to