forked from pool/python-pytest-check
Update to version 2.6.0
This commit is contained in:
@@ -18,14 +18,16 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-check
|
||||
Version: 2.4.1
|
||||
Version: 2.6.0
|
||||
Release: 0
|
||||
Summary: A pytest plugin that allows multiple failures per test
|
||||
License: MIT
|
||||
URL: https://github.com/okken/pytest-check
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-check/pytest_check-%{version}.tar.gz
|
||||
# Only include this patch for 15.6 and 16.0 builds
|
||||
Patch0: pytest-check-no-new-classifiers.patch
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module flit-core >= 2}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 6}
|
||||
BuildRequires: fdupes
|
||||
@@ -40,6 +42,11 @@ A pytest plugin that allows multiple failures per test. A rewrite of pytest-expe
|
||||
%prep
|
||||
%setup -q -n pytest_check-%{version}
|
||||
|
||||
# Only include this patch for 15.6 and 16.0 builds
|
||||
%if 0%{?sle_version} == 150600 || 0%{?sle_version} == 160000
|
||||
%autopatch -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user