forked from pool/python-html5lib
- Add pytest4-mhroncok.patch by Miro Hroncok from
gh#html5lib/html5lib-python#414 to make testsuite passing under pytest4+. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=36
This commit is contained in:
@@ -24,13 +24,16 @@ Summary: HTML parser based on the WHAT-WG Web Applications 1
|
||||
License: MIT
|
||||
URL: https://github.com/html5lib/html5lib-python
|
||||
Source: https://files.pythonhosted.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
|
||||
# PATCH-{FIX|FEATURE}-{OPENSUSE|SLE|UPSTREAM} name-of-file.patch gh#html5lib/html5lib-python#414 mcepl@suse.com
|
||||
# This patch makes testsuite pass with pytest4
|
||||
Patch0: pytest4-mhroncok.patch
|
||||
BuildRequires: %{python_module Genshi}
|
||||
BuildRequires: %{python_module datrie}
|
||||
BuildRequires: %{python_module lxml}
|
||||
BuildRequires: %{python_module mock}
|
||||
# https://github.com/html5lib/html5lib-python/issues/411
|
||||
BuildRequires: %{python_module pytest < 4.0}
|
||||
BuildRequires: %{python_module pytest-expect}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 18.5}
|
||||
BuildRequires: %{python_module six >= 1.9}
|
||||
BuildRequires: %{python_module webencodings}
|
||||
@@ -55,6 +58,7 @@ simple custom format
|
||||
|
||||
%prep
|
||||
%setup -q -n html5lib-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user