Accepting request 1008770 from home:bnavigator:branches:devel:languages:python
- Make sure the 15.4 tests also have python3-packaging - Revert python_exec change, one pure wheel built by python3 is enough OBS-URL: https://build.opensuse.org/request/show/1008770 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=31
This commit is contained in:
parent
b86f25d7bf
commit
fe0daf1ce3
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 7 12:16:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Make sure the 15.4 tests also have python3-packaging
|
||||
- Revert python_exec change, one pure wheel built by python3 is
|
||||
enough
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 11:52:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -58,12 +58,14 @@ BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module flit-core = %{version}}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module testpath}
|
||||
%endif
|
||||
%else
|
||||
# SECTION boo#1186870: we are a transitive build dependency of python-packaging which is used by pythondistdeps.py normally creating this entry
|
||||
#!BuildIgnore: %{primary_python}-packaging
|
||||
#!BuildIgnore: python3-packaging
|
||||
%endif
|
||||
Provides: %{mypython}%{python_version}dist(%{modname}) = %{version}
|
||||
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
||||
Provides: %{mypython}3-%{modname} = %{version}-%{release}
|
||||
@ -83,7 +85,7 @@ The only public interface is the API specified by PEP 517, at flit_core.buildapi
|
||||
%if !%{with test}
|
||||
%build
|
||||
# https://flit.readthedocs.io/en/latest/bootstrap.html
|
||||
%python_exec -m flit_core.wheel
|
||||
python3 -m flit_core.wheel
|
||||
|
||||
%install
|
||||
%{python_expand #
|
||||
|
Loading…
Reference in New Issue
Block a user