forked from pool/python-asttokens
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asttokens?expand=0&rev=24
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user