15
0

5 Commits

2 changed files with 3 additions and 9 deletions

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Fri Jun 13 05:35:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Apr 30 12:07:17 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -30,7 +30,6 @@ URL: https://github.com/gristlabs/asttokens
Source: https://files.pythonhosted.org/packages/source/a/asttokens/asttokens-%{version}.tar.gz
BuildRequires: %{python_module astroid}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 44}
BuildRequires: %{python_module setuptools_scm >= 3.4.3}
@@ -49,11 +48,11 @@ Annotate AST trees with source code positions
%build
export LC_ALL=en_US.utf8
%pyproject_wheel
%python_build
%install
export LC_ALL=en_US.utf8
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -65,7 +64,7 @@ donttest+=" or test_deep_recursion"
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/asttokens-%{version}.dist-info
%{python_sitelib}/asttokens-%{version}-*-info
%{python_sitelib}/asttokens
%changelog