forked from pool/python-ini2toml
Accepting request 1089694 from devel:languages:python
- Remove ConfigUpdater dependency for tests when it's not building for the -full or -all subpackage. OBS-URL: https://build.opensuse.org/request/show/1089694 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ini2toml?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 30 06:22:39 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Remove ConfigUpdater dependency for tests when it's not building for
|
||||||
|
the -full or -all subpackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 5 00:13:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri May 5 00:13:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -49,7 +49,6 @@
|
|||||||
%bcond_with experimental
|
%bcond_with experimental
|
||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
Name: python-ini2toml%{psuffix}
|
Name: python-ini2toml%{psuffix}
|
||||||
Version: 0.12
|
Version: 0.12
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -64,7 +63,6 @@ Requires: python-packaging >= 20.7
|
|||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module ConfigUpdater}
|
|
||||||
BuildRequires: %{python_module packaging >= 20.7}
|
BuildRequires: %{python_module packaging >= 20.7}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module validate-pyproject >= 0.6 with %python-validate-pyproject < 2}
|
BuildRequires: %{python_module validate-pyproject >= 0.6 with %python-validate-pyproject < 2}
|
||||||
@@ -77,6 +75,11 @@ BuildRequires: %{python_module ini2toml-full = %{version}}
|
|||||||
%if %{with all}
|
%if %{with all}
|
||||||
BuildRequires: %{python_module ini2toml-all = %{version}}
|
BuildRequires: %{python_module ini2toml-all = %{version}}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with full} || %{with all}
|
||||||
|
BuildRequires: %{python_module ConfigUpdater}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with experimental}
|
%if %{with experimental}
|
||||||
BuildRequires: %{python_module ini2toml-experimental = %{version}}
|
BuildRequires: %{python_module ini2toml-experimental = %{version}}
|
||||||
%endif
|
%endif
|
||||||
@@ -164,6 +167,7 @@ ignoretests=(
|
|||||||
--ignore tests/plugins/test_mypy.py
|
--ignore tests/plugins/test_mypy.py
|
||||||
--ignore tests/plugins/test_pytest.py
|
--ignore tests/plugins/test_pytest.py
|
||||||
--ignore tests/plugins/test_setuptools_pep621.py
|
--ignore tests/plugins/test_setuptools_pep621.py
|
||||||
|
--ignore tests/plugins/test_toml_incompatibilities.py
|
||||||
)
|
)
|
||||||
%endif
|
%endif
|
||||||
%if %{without experimental}
|
%if %{without experimental}
|
||||||
|
Reference in New Issue
Block a user