Sync from SUSE:SLFO:Main python-astunparse revision 811aefabf60fb25ecb30c8aee4c16ef9
This commit is contained in:
parent
0df107e901
commit
fce925e02b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 20 19:42:26 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:22:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-astunparse
|
||||
Version: 1.6.3
|
||||
@ -30,6 +29,7 @@ Source: https://files.pythonhosted.org/packages/source/a/astunparse/astu
|
||||
Patch0: astunparse-pr57-py39.patch
|
||||
# https://github.com/simonpercivall/astunparse/pull/59
|
||||
Patch1: fix-formatted-value.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.6.1}
|
||||
BuildRequires: %{python_module wheel >= 0.23.0}
|
||||
@ -56,14 +56,14 @@ Added to this is a pretty-printing dump utility function.
|
||||
%autosetup -p1 -n astunparse-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# fails to parse the 32bit stdlib
|
||||
%if "%_lib" == "lib64"
|
||||
%if "%{_lib}" == "lib64"
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user