17
0

4 Commits

Author SHA256 Message Date
a8b511aee3 Accepting request 1327303 from editors:tree-sitter
OBS-URL: https://build.opensuse.org/request/show/1327303
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-bash?expand=0&rev=3
2026-01-15 15:47:37 +00:00
becef4c331 - 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.

OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-bash?expand=0&rev=2
2026-01-14 22:32:40 +00:00
7789e17956 Accepting request 1229646 from editors:tree-sitter
- update to 0.23.3:
  * ci(publish): add attestations and generate parser
- update to 0.23.2:
  * build: update bindings
- update to 0.23.1:
  * fix: fix Python bindings
- update to 0.23.0:
  * build: update bindings
  * ci: update workflows
  * fix: don't copy to null heredoc delimiters
  * fix: don't copy null heredoc delimiters
- add symlink for neovim
- switch to download_files service, as we stay with the releases
  anyway, and nothing special needs to happen for preparing the
  sources
- add devel package

OBS-URL: https://build.opensuse.org/request/show/1229646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-bash?expand=0&rev=2
2024-12-11 20:03:07 +00:00
Richard Rahl
211abb30b8 OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-bash?expand=0&rev=1 2024-12-05 08:13:16 +00:00
5 changed files with 84 additions and 30 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-bash.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:871cacd65739f6c0363dc3c8b9f8ccbf771e1510f4a08733e7cc63b62cff7f18
size 579933

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e785a761225b6c433410ef9c7b63cfb0a4e83a35a19e0f2aec140b42c06b52d
size 543006

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Wed Jan 14 21:32:47 UTC 2026 - Matej Cepl <mcepl@cepl.eu>
- 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.
-------------------------------------------------------------------
Wed Dec 4 21:46:43 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.3:
* ci(publish): add attestations and generate parser
- update to 0.23.2:
* build: update bindings
- update to 0.23.1:
* fix: fix Python bindings
- update to 0.23.0:
* build: update bindings
* ci: update workflows
* fix: don't copy to null heredoc delimiters
* fix: don't copy null heredoc delimiters
- add symlink for neovim
- switch to download_files service, as we stay with the releases
anyway, and nothing special needs to happen for preparing the
sources
- add devel package
-------------------------------------------------------------------
Mon Mar 25 17:34:42 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -15,34 +15,75 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name bash
Summary: Bash grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.21.0
%define python_subpackage_only 1
%define _name bash
Name: tree-sitter-bash
Version: 0.25.1
Release: 0
Summary: Bash grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-bash
Source0: %{name}-%{version}.tar.gz
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 -p1
%autosetup
%build
%treesitter_configure
%treesitter_build
export CFLAGS="%{optflags}"
%pyproject_wheel
%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
%pyproject_install
%{python_expand rm %{buildroot}%{$python_sitearch}/tree_sitter_bash/binding.c
%fdupes %{buildroot}%{$python_sitearch}
}
%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
%files %{python_files tree-sitter-bash}
%license LICENSE
%{python_sitearch}/tree_sitter_bash
%{python_sitearch}/tree_sitter_bash-%{version}.dist-info
%changelog