forked from pool/python-invoke
- Restrict pytest5 and pytest4 for now upstream tests only with
pytest3... OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=17
This commit is contained in:
committed by
Git OBS Bridge
parent
b109d4fcb0
commit
1b9e0ce02f
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 09:59:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Restrict pytest5 and pytest4 for now upstream tests only with
|
||||
pytest3...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 14:02:06 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -31,8 +31,8 @@ BuildRequires: %{python_module fluidity-sm}
|
||||
BuildRequires: %{python_module lexicon}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pexpect}
|
||||
BuildRequires: %{python_module pytest < 4.0}
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
@@ -71,7 +71,7 @@ rm -r invoke/completion/__pycache__/
|
||||
%python_clone -a %{buildroot}%{_bindir}/invoke
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%{python_install_alternative inv invoke}
|
||||
|
Reference in New Issue
Block a user