Accepting request 1159663 from home:uncomfyhalomacro:branches:editors

- Update to version 0.22.2:
  * fix(lib): allow hiding symbols
  * feat(lib): implement Display for Node
  * test: fix header writes
  * chore: turbofish styling
  * feat(cli)!: add a separate build command to compile parsers
  * ci: simplify workflows
  * docs(license): update year
  * fix(lib): avoid possible UB of calling memset on a null ptr when 0 is passed into `array_grow_by`
  * fix(lib): makefile installation
- Update _service file
  * replace obsoleted mode "disabled" with "manual"
  * use download_files instead of performing scm

OBS-URL: https://build.opensuse.org/request/show/1159663
OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=22
This commit is contained in:
Martin Pluskal 2024-03-22 19:27:01 +00:00 committed by Git OBS Bridge
parent 2a5a61b6ec
commit 80f7b377e9
8 changed files with 29 additions and 38 deletions

View File

@ -1,25 +1,8 @@
<services>
<!--service mode="disabled" name="obs_scm">
<param name="url">https://github.com/tree-sitter/tree-sitter</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">b268e41</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">socvirnyl.estela@gmail.com</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/-->
<service name="cargo_vendor" mode="disabled">
<service name="download_files" mode="manual" />
<service name="cargo_vendor" mode="manual">
<param name="srctar">tree-sitter-*.tar.xz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
</service>
<service name="cargo_audit" mode="manual" />
</services>

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6181ede0b7470bfca37e293e7d5dc1d16469b9485d13f13a605baec4a8b1f791
size 2941223

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Mar 19 07:17:25 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Update to version 0.22.2:
* fix(lib): allow hiding symbols
* feat(lib): implement Display for Node
* test: fix header writes
* chore: turbofish styling
* feat(cli)!: add a separate build command to compile parsers
* ci: simplify workflows
* docs(license): update year
* fix(lib): avoid possible UB of calling memset on a null ptr when 0 is passed into `array_grow_by`
* fix(lib): makefile installation
- Update _service file
* replace obsoleted mode "disabled" with "manual"
* use download_files instead of performing scm
-------------------------------------------------------------------
Thu Apr 6 19:36:21 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package tree-sitter
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,14 +19,13 @@
%define somajor 0
%define libdirname tree_sitter
Name: tree-sitter
Version: 0.20.8
Version: 0.22.2
Release: 0
Summary: An incremental parsing system for programming tools
License: MIT
URL: https://tree-sitter.github.io/
Source0: https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source10: cargo_config
Source1: vendor.tar.zst
Source11: baselibs.conf
BuildRequires: cargo-packaging
BuildRequires: rust > 1.40
@ -66,9 +65,6 @@ developing applications that use %{name}.
%prep
%autosetup -p1 -a1
mkdir -p .cargo
cp %{SOURCE10} .cargo/config
# fix VERSION in Makefile
sed -i -e '/^VERSION/s/:= .*$/:= %{version}/' Makefile

View File

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

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8158ba3e18b25a81d41e6937d120597630a57181996355154197e6988d632030
size 30391447