17
0

4 Commits

Author SHA256 Message Date
7876ad659b Accepting request 1238375 from editors:tree-sitter
- update to 0.23.2:
  * build: update package-lock.json
  * fix: allow host as a standalone class name
  * fix: don't disallow single quotes when determining pseudo class selection
  * fix: improve error recovery with incomplete pseudo-class selectors
  * fix: mark selectors before combinators as optional
  * build: bump deps
  * chore: generate

OBS-URL: https://build.opensuse.org/request/show/1238375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-css?expand=0&rev=3
2025-01-17 17:38:21 +00:00
Richard Rahl
c75e460887 - update to 0.23.2:
* build: update package-lock.json
  * fix: allow host as a standalone class name
  * fix: don't disallow single quotes when determining pseudo class selection
  * fix: improve error recovery with incomplete pseudo-class selectors
  * fix: mark selectors before combinators as optional
  * build: bump deps
  * chore: generate

OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-css?expand=0&rev=2
2025-01-17 04:21:48 +00:00
a172ed7351 Accepting request 1229595 from editors:tree-sitter
- update to 0.23.1:
  * feat: allow escape sequences in class names
  * feat: improve string parsing
  * fix: prefer attribute selectors in pseudo class selectors
  * feat: add string_content
  * fix: allow :host, :host-context, :nth-child
  * build: update bindings
- update to 0.23.0:
  * build: update bindings
- update to 0.21.1:
  * fix: do not consume braces in a string
  * fix: correct identifier regex
  * fix: Restrict :has, :not, :is, and :where to selector arguments
  * chore: remove reset function
- update to 0.21.0:
  * build: update bindings
  * docs: update badges
- add neovim links
- switch to download_files service, as nothing special happens with
  the source
- add devel package

OBS-URL: https://build.opensuse.org/request/show/1229595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter-css?expand=0&rev=2
2024-12-11 20:02:18 +00:00
Richard Rahl
e8d155abab OBS-URL: https://build.opensuse.org/package/show/editors:tree-sitter/tree-sitter-css?expand=0&rev=1 2024-12-05 08:13:19 +00:00
5 changed files with 58 additions and 29 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-css.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:84de5412d0aa77f428a37ab69018f617ec3d231320ae5b7fe488f8f88422133e
size 95298

View File

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

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Fri Jan 17 03:47:46 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.2:
* build: update package-lock.json
* fix: allow host as a standalone class name
* fix: don't disallow single quotes when determining pseudo class selection
* fix: improve error recovery with incomplete pseudo-class selectors
* fix: mark selectors before combinators as optional
* build: bump deps
* chore: generate
-------------------------------------------------------------------
Wed Dec 4 22:13:06 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 0.23.1:
* feat: allow escape sequences in class names
* feat: improve string parsing
* fix: prefer attribute selectors in pseudo class selectors
* feat: add string_content
* fix: allow :host, :host-context, :nth-child
* build: update bindings
- update to 0.23.0:
* build: update bindings
- update to 0.21.1:
* fix: do not consume braces in a string
* fix: correct identifier regex
* fix: Restrict :has, :not, :is, and :where to selector arguments
* chore: remove reset function
- update to 0.21.0:
* build: update bindings
* docs: update badges
- add neovim links
- switch to download_files service, as nothing special happens with
the source
- add devel package
-------------------------------------------------------------------
Mon Feb 26 07:09:21 UTC 2024 - Björn Bidar <bjorn.bidar@thaodan.de>

View File

@@ -16,15 +16,14 @@
#
%define _name css
Summary: CSS grammar for tree-sitter
Name: tree-sitter-%{_name}
Version: 0.20.0
%define _name css
Name: tree-sitter-css
Version: 0.23.2
Release: 0
Summary: CSS grammar for tree-sitter
License: MIT
Group: Development/Tools/Other
URL: https://github.com/tree-sitter/tree-sitter-css
Source0: %{name}-%{version}.tar.gz
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: tree-sitter
%treesitter_grammars %{_name}
@@ -32,7 +31,7 @@ BuildRequires: tree-sitter
%{summary}.
%prep
%autosetup -p1
%autosetup
%build
%treesitter_configure
@@ -40,9 +39,20 @@ BuildRequires: tree-sitter
%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
%files
%{treesitter_files}
%license LICENSE
%treesitter_files
%{_libdir}/tree_sitter/%{_name}.so
%if 0%{?suse_version} < 1600
%dir %{_libdir}/tree_sitter
%endif
%treesitter_devel_package
%changelog