From 63750ca71a5ed8fc18b0fed818cc6b2755dd167e2f249b4b2f2bd5340a36b5bd Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 3 Dec 2024 13:46:16 +0000 Subject: [PATCH] - 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 --- python-tree-sitter.changes | 6 ++++++ python-tree-sitter.spec | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/python-tree-sitter.changes b/python-tree-sitter.changes index fa8936f..4d1dd52 100644 --- a/python-tree-sitter.changes +++ b/python-tree-sitter.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 3 13:45:51 UTC 2024 - Matej Cepl + +- 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 diff --git a/python-tree-sitter.spec b/python-tree-sitter.spec index da2c97c..123b663 100644 --- a/python-tree-sitter.spec +++ b/python-tree-sitter.spec @@ -24,12 +24,12 @@ Summary: Python bindings to the Tree-sitter parsing library License: MIT URL: https://github.com/tree-sitter/py-tree-sitter 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 pip} BuildRequires: %{python_module setuptools >= 43} BuildRequires: %{python_module wheel} BuildRequires: fdupes +BuildRequires: python-rpm-macros %python_subpackages %description @@ -45,6 +45,11 @@ This module provides Python bindings to the tree-sitter parsing library. %pyproject_install %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} %doc README.md %license LICENSE