17
0

Accepting request 964206 from home:pgajdos:python

- do not require python-mock for build
- added patches
  fix https://github.com/html5lib/html5lib-python/issues/541
  + python-html5lib-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/964206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=49
This commit is contained in:
2022-03-23 21:27:20 +00:00
committed by Git OBS Bridge
parent cfb12cc968
commit e6fc470d1d
3 changed files with 24 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-html5lib
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ URL: https://github.com/html5lib/html5lib-python
Source: https://files.pythonhosted.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
# PATCH-FIX_UPSTREAM https://github.com/html5lib/html5lib-python/commit/2c19b9899ab3a3e8bd0ca35e5d78544334204169 Use Node.from_parent() constructor to support pytest 6
Patch0: pytest6.patch
# https://github.com/html5lib/html5lib-python/issues/541
Patch1: python-html5lib-no-mock.patch
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module mock}