Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a8b511aee3 | |||
| becef4c331 | |||
| 7789e17956 | |||
|
|
211abb30b8 |
18
_service
18
_service
@@ -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 <bjorn.bidar@thaodan.de></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>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:871cacd65739f6c0363dc3c8b9f8ccbf771e1510f4a08733e7cc63b62cff7f18
|
||||
size 579933
|
||||
3
tree-sitter-bash-0.25.1.tar.gz
Normal file
3
tree-sitter-bash-0.25.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e785a761225b6c433410ef9c7b63cfb0a4e83a35a19e0f2aec140b42c06b52d
|
||||
size 543006
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user