14
0

- It is really not possible to run the test suite right now. Make

a note about it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tree-sitter?expand=0&rev=2
This commit is contained in:
2024-12-03 13:46:16 +00:00
committed by Git OBS Bridge
parent aafcedcbff
commit 63750ca71a
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 3 13:45:51 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- It is really not possible to run the test suite right now. Make
a note about it.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 2 18:51:29 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> Mon Dec 2 18:51:29 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -24,12 +24,12 @@ Summary: Python bindings to the Tree-sitter parsing library
License: MIT License: MIT
URL: https://github.com/tree-sitter/py-tree-sitter URL: https://github.com/tree-sitter/py-tree-sitter
Source: https://files.pythonhosted.org/packages/source/t/tree-sitter/tree-sitter-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/tree-sitter/tree-sitter-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 43} BuildRequires: %{python_module setuptools >= 43}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages %python_subpackages
%description %description
@@ -45,6 +45,11 @@ This module provides Python bindings to the tree-sitter parsing library.
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# test suite is not included in the distribution tarball,
# and it is not possible to build easily from GitHub checkout tarball
:
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE