forked from pool/python-pytest-fixture-config
- Update to 1.7.0:
* Support pytest 4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-fixture-config?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
649fda28be
commit
0aef609374
@@ -12,26 +12,26 @@
|
||||
# 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-fixture-config
|
||||
Version: 1.4.0
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Fixture configuration utils for pytest
|
||||
Url: https://github.com/manahl/pytest-plugins
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/manahl/pytest-plugins
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
Requires: python-pytest
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -39,7 +39,6 @@ Fixture configuration utilities for pytest
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-fixture-config-%{version}
|
||||
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -49,7 +48,7 @@ sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md CHANGES.md
|
||||
|
||||
Reference in New Issue
Block a user