forked from pool/python-stestr
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
9e071f18c4
commit
42f80b54a1
@@ -35,6 +35,21 @@ URL: https://github.com/mtreinish/stestr
|
|||||||
Source: https://files.pythonhosted.org/packages/source/s/stestr/stestr-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/stestr/stestr-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pbr >= 2.0.0}
|
BuildRequires: %{python_module pbr >= 2.0.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python3-dbm
|
||||||
|
Requires: python-PyYAML >= 3.10.0
|
||||||
|
Requires: python-cliff >= 2.8.0
|
||||||
|
Requires: python-fixtures >= 3.0.0
|
||||||
|
Requires: python-future
|
||||||
|
Requires: python-pbr >= 2.0.0
|
||||||
|
Requires: python-python-subunit >= 1.3.0
|
||||||
|
Requires: python-six >= 1.10.0
|
||||||
|
Requires: python-testtools >= 2.2.0
|
||||||
|
Requires: python-voluptuous >= 0.8.9
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module PyYAML >= 3.10.0}
|
BuildRequires: %{python_module PyYAML >= 3.10.0}
|
||||||
BuildRequires: %{python_module SQLAlchemy}
|
BuildRequires: %{python_module SQLAlchemy}
|
||||||
@@ -51,28 +66,13 @@ BuildRequires: %{python_module stestr >= %{version}}
|
|||||||
BuildRequires: %{python_module testtools >= 2.2.0}
|
BuildRequires: %{python_module testtools >= 2.2.0}
|
||||||
BuildRequires: %{python_module voluptuous >= 0.8.9}
|
BuildRequires: %{python_module voluptuous >= 0.8.9}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: python3-dbm
|
|
||||||
Requires: python-PyYAML >= 3.10.0
|
|
||||||
Requires: python-cliff >= 2.8.0
|
|
||||||
Requires: python-fixtures >= 3.0.0
|
|
||||||
Requires: python-future
|
|
||||||
Requires: python-pbr >= 2.0.0
|
|
||||||
Requires: python-python-subunit >= 1.3.0
|
|
||||||
Requires: python-six >= 1.10.0
|
|
||||||
Requires: python-testtools >= 2.2.0
|
|
||||||
Requires: python-voluptuous >= 0.8.9
|
|
||||||
%ifpython3
|
%ifpython3
|
||||||
Requires: python-dbm
|
Requires: python-dbm
|
||||||
%endif
|
%endif
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%if !0%{?_no_weakdeps}
|
%if !0%{?_no_weakdeps}
|
||||||
Recommends: python-SQLAlchemy
|
Recommends: python-SQLAlchemy
|
||||||
Recommends: python-subunit2sql >= 1.8.0
|
Recommends: python-subunit2sql >= 1.8.0
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -91,7 +91,7 @@ rm stestr/tests/repository/test_sql.py
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
export LC_ALL="en_US.UTF8"
|
export LC_ALL="en_US.UTF8"
|
||||||
%python_expand py.test-%{$python_bin_suffix} -v stestr/tests -k 'not test_empty_with_pretty_out'
|
%pytest stestr/tests -k 'not test_empty_with_pretty_out'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
|
Reference in New Issue
Block a user