forked from pool/python-outcome
Accepting request 853200 from home:bnavigator:branches:devel:languages:python
- BuildRequire more than the default python3 flavor packages gh#openSUSE/python-rpm-macros#66 - pytest-cov is not required OBS-URL: https://build.opensuse.org/request/show/853200 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-outcome?expand=0&rev=8
This commit is contained in:
parent
d676e0178e
commit
0f53a09c87
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 4 23:19:56 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- BuildRequire more than the default python3 flavor packages
|
||||||
|
gh#openSUSE/python-rpm-macros#66
|
||||||
|
- pytest-cov is not required
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 27 13:36:27 UTC 2020 - pgajdos@suse.com
|
Fri Mar 27 13:36:27 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -32,10 +32,15 @@ Requires: python-attrs >= 19.2.0
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
BuildRequires: %{python_module attrs >= 19.2.0}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
%if 0%{suse_version} >= 1550
|
||||||
|
# for more than one python 3 flavor, but no python2 flavor
|
||||||
|
BuildRequires: %{python_module async_generator}
|
||||||
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
|
%else
|
||||||
BuildRequires: python3-async_generator
|
BuildRequires: python3-async_generator
|
||||||
BuildRequires: python3-pytest-asyncio
|
BuildRequires: python3-pytest-asyncio
|
||||||
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -59,6 +64,7 @@ function call, so that it can be passed around.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE LICENSE.APACHE2 LICENSE.MIT
|
%license LICENSE LICENSE.APACHE2 LICENSE.MIT
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/outcome
|
||||||
|
%{python_sitelib}/outcome-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user