- Update to 0.1.2:

* Fix tests execution

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-testconfig?expand=0&rev=2
This commit is contained in:
Tomáš Chvátal
2019-07-24 07:08:07 +00:00
committed by Git OBS Bridge
parent 20c9e6a347
commit 1ba628d992
4 changed files with 19 additions and 13 deletions

View File

@@ -12,26 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-testconfig
Version: 0.1.1
Version: 0.1.2
Release: 0
License: Apache-2.0
Summary: Test configuration plugin for pytest
Url: https://github.com/wojole/pytest-testconfig
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/wojole/pytest-testconfig
Source: https://files.pythonhosted.org/packages/source/p/pytest-testconfig/pytest-testconfig-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module pytest >= 3.5}
BuildRequires: %{python_module tox}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tox}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.5
Recommends: python-PyYAML
BuildArch: noarch
%python_subpackages
%description
@@ -49,9 +51,7 @@ to the tests being executed.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# The tests don't work currently, but we have a PR here to fix this:
# https://github.com/wojole/pytest-testconfig/pull/2
#%%pytest
%pytest
%files %{python_files}
%license LICENSE