Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 7876ad659b | |||
|
|
c75e460887 | ||
| a172ed7351 | |||
|
|
e8d155abab |
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-css.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:84de5412d0aa77f428a37ab69018f617ec3d231320ae5b7fe488f8f88422133e
|
||||
size 95298
|
||||
3
tree-sitter-css-0.23.2.tar.gz
Normal file
3
tree-sitter-css-0.23.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5d442e8b04d8c743603172fb02664ae2b404f38f7a871d97cf2c89c1eedf8251
|
||||
size 123495
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user