forked from pool/python-testscenarios
Accepting request 486898 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/486898 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testscenarios?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
40b7c143e8
commit
af161c03cb
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 9 15:32:54 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Disabled tests to avoid dependency loop with testtools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 2 08:11:06 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
@@ -27,12 +27,12 @@ Url: https://launchpad.net/testscenarios
|
||||
Source: https://files.pythonhosted.org/packages/source/t/testscenarios/testscenarios-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pbr >= 0.11}
|
||||
BuildRequires: %{python_module testtools}
|
||||
# Tests cause a dependency loop
|
||||
#BuildRequires: %%{python_module extras}
|
||||
#BuildRequires: %%{python_module nose}
|
||||
#BuildRequires: %%{python_module testtools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# Test requirements:
|
||||
BuildRequires: python-extras
|
||||
BuildRequires: python-nose
|
||||
Requires: python-pbr >= 0.11
|
||||
Requires: python-testtools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -56,10 +56,11 @@ different situations).
|
||||
%python_install
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
$python -m testtools.run testscenarios.test_suite
|
||||
}
|
||||
# Tests introduce dependency loop with python-testtools
|
||||
#%%check
|
||||
#%%{python_expand PYTHONPATH=%%{buildroot}%{$python_sitelib}
|
||||
# $python -m testtools.run testscenarios.test_suite
|
||||
#}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user