14
0
forked from pool/python-lxml

Accepting request 896722 from home:pmonrealgonzalez:branches:devel:languages:python

- Adapt test_etree.py to a behavioural change in libxml2 2.9.11+
  * Add python-lxml-test_etree.patch

OBS-URL: https://build.opensuse.org/request/show/896722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=147
This commit is contained in:
2021-06-01 16:42:05 +00:00
committed by Git OBS Bridge
parent 34c29f33db
commit 2bfc401fc6
3 changed files with 34 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ Group: Development/Languages/Python
URL: https://lxml.de/
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
Source1: https://lxml.de/lxmldoc-4.5.2.pdf
# PATCH-FIX-UPSTREAM Adapt test_etree.py to a behavioural change in libxml2 2.9.11+
Patch0: python-lxml-test_etree.patch
BuildRequires: %{python_module Cython >= 0.29.7}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
@@ -70,6 +72,7 @@ This package contains header files needed to use lxml's C API.
%prep
%setup -q -n lxml-%{version}
%patch0 -p1
cp %{SOURCE1} .
# remove generated files