15
0
2025-06-13 05:42:07 +00:00
committed by Git OBS Bridge
parent 5bea4afed1
commit ee748dc055
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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,6 +30,7 @@ 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}
@@ -48,11 +49,11 @@ Annotate AST trees with source code positions
%build
export LC_ALL=en_US.utf8
%python_build
%pyproject_wheel
%install
export LC_ALL=en_US.utf8
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -64,7 +65,7 @@ donttest+=" or test_deep_recursion"
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/asttokens-%{version}-*-info
%{python_sitelib}/asttokens-%{version}.dist-info
%{python_sitelib}/asttokens
%changelog