Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tree-sitter-typescript for 
openSUSE:Factory checked in at 2026-08-21 16:52:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tree-sitter-typescript (Old)
 and      /work/SRC/openSUSE:Factory/.tree-sitter-typescript.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tree-sitter-typescript"

Fri Aug 21 16:52:45 2026 rev:4 rq:1372215 version:0.23.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/tree-sitter-typescript/tree-sitter-typescript.changes
    2026-02-17 16:45:47.891539751 +0100
+++ 
/work/SRC/openSUSE:Factory/.tree-sitter-typescript.new.1258/tree-sitter-typescript.changes
  2026-08-21 16:53:59.171381715 +0200
@@ -1,0 +2,12 @@
+Thu Aug 20 09:19:29 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Build the upstream Python binding as pythonXYZ flavor
+  subpackages: the shared %treesitter_python_build/_install
+  macros plus the singlespec python_subpackage_only template
+- Suggests python-tree-sitter instead of Requires, matching
+  tree-sitter-bash, so ring1 installcheck does not demand a
+  non-ring package.
+- Call %treesitter_python_install typescript typescript tsx:
+  this package ships two grammars and the bare form now errors.
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ tree-sitter-typescript.spec ++++++
--- /var/tmp/diff_new_pack.amho49/_old  2026-08-21 16:54:00.053412315 +0200
+++ /var/tmp/diff_new_pack.amho49/_new  2026-08-21 16:54:00.055412385 +0200
@@ -16,6 +16,7 @@
 #
 
 
+%define python_subpackage_only 1
 %define         _name typescript
 Name:           tree-sitter-typescript
 Version:        0.23.2
@@ -24,23 +25,41 @@
 License:        MIT
 URL:            https://github.com/tree-sitter/tree-sitter-typescript
 Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module installer}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  tree-sitter
 BuildRequires:  treesitter_grammar_src(tree-sitter-javascript)
 %treesitter_grammars %{_name} tsx
+%python_subpackages
 
 %description
 %{summary}.
 
+%package -n python-%{name}
+Summary:        Python binding for the %{name} grammar
+Suggests:       python-tree-sitter
+
+%description -n python-%{name}
+The tree_sitter_* Python module for the %{name} grammar, loadable
+with the Language()/Parser() API from python-tree-sitter.
+
 %prep
 %autosetup
 
 %build
 %treesitter_configure
 %treesitter_build
+%treesitter_python_build
 
 %install
 %treesitter_install
 %treesitter_devel_install common/define-grammar.js
+%treesitter_python_install typescript typescript tsx
 
 %files
 %license LICENSE
@@ -48,3 +67,7 @@
 
 %treesitter_devel_package
 
+%files %{python_files %{name}}
+%license LICENSE
+%{python_sitearch}/tree_sitter_*
+

++++++ _scmsync.obsinfo ++++++
mtime: 1787217759
commit: 15f88b7221b8c5aafad44770e208d9db8d3f3f57b0b2b6d074f0dabf022910cd
url: https://src.opensuse.org/tree-sitter/tree-sitter-typescript
revision: 15f88b7221b8c5aafad44770e208d9db8d3f3f57b0b2b6d074f0dabf022910cd
projectscmsync: https://src.opensuse.org/tree-sitter/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-08-20 11:22:39.000000000 +0200
@@ -0,0 +1,4 @@
+*.obscpio
+*.osc
+_build.*
+.pbuild

Reply via email to