17
0

- Add patch to fix run with pytest5:

* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=45
This commit is contained in:
Tomáš Chvátal
2020-05-29 09:19:42 +00:00
committed by Git OBS Bridge
parent 9a1703f904
commit e999fc20fa
3 changed files with 71 additions and 1 deletions

View File

@@ -28,11 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/h/html5lib/html5l
# This patch makes testsuite pass with pytest4
Patch0: pytest4-mhroncok.patch
Patch1: collections-abc.patch
Patch2: pytest5.patch
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module datrie}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest < 5.0}
BuildRequires: %{python_module pytest >= 4.0}
BuildRequires: %{python_module pytest-expect}
BuildRequires: %{python_module setuptools >= 18.5}
BuildRequires: %{python_module six >= 1.9}