15
0

- Add pytest4.patch to make testsuite pass even with pytest 4

(gh#PyCQA/redbaron#179)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-redbaron?expand=0&rev=8
This commit is contained in:
2019-11-01 12:54:36 +00:00
committed by Git OBS Bridge
parent f4f37a40fb
commit 22d7b53da5
3 changed files with 53 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/PyCQA/redbaron
Source: https://files.pythonhosted.org/packages/source/r/redbaron/redbaron-%{version}.tar.gz
BuildRequires: %{python_module devel}
Patch0: pytest4.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -33,7 +33,7 @@ Requires: python-baron >= 0.7
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module baron >= 0.7}
BuildRequires: %{python_module pytest < 4}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -45,6 +45,7 @@ IPython.
%prep
%setup -q -n redbaron-%{version}
%autopatch -p1
%build
%python_build