diff --git a/lxml-4.6.3.tar.gz b/lxml-4.6.3.tar.gz deleted file mode 100644 index 606deae..0000000 --- a/lxml-4.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:39b78571b3b30645ac77b95f7c69d1bffc4cf8c3b157c435a34da72e78c82468 -size 3191113 diff --git a/lxml-4.6.4.tar.gz b/lxml-4.6.4.tar.gz new file mode 100644 index 0000000..9e8853e --- /dev/null +++ b/lxml-4.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:daf9bd1fee31f1c7a5928b3e1059e09a8d683ea58fb3ffc773b6c88cb8d1399c +size 3177833 diff --git a/python-lxml-test_etree.patch b/python-lxml-test_etree.patch deleted file mode 100644 index 6428af6..0000000 --- a/python-lxml-test_etree.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 852ed1092bd80b6b9a51db24371047ec88843031 Mon Sep 17 00:00:00 2001 -From: Stefan Behnel -Date: Tue, 18 May 2021 22:02:02 +0200 -Subject: [PATCH] Adapt a test to a behavioural change in libxml2 2.9.11+. - ---- - src/lxml/tests/test_etree.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/lxml/tests/test_etree.py b/src/lxml/tests/test_etree.py -index 9cf70604b..42613dcbe 100644 ---- a/src/lxml/tests/test_etree.py -+++ b/src/lxml/tests/test_etree.py -@@ -3036,7 +3036,10 @@ def test_subelement_nsmap(self): - def test_html_prefix_nsmap(self): - etree = self.etree - el = etree.HTML('aa').find('.//page-description') -- self.assertEqual({'hha': None}, el.nsmap) -+ if etree.LIBXML_VERSION < (2, 9, 11): -+ self.assertEqual({'hha': None}, el.nsmap) -+ else: -+ self.assertEqual({}, el.nsmap) - - def test_getchildren(self): - Element = self.etree.Element diff --git a/python-lxml.changes b/python-lxml.changes index 18b6ca0..517a8da 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 24 21:23:34 UTC 2021 - Dirk Müller + +- update to 4.6.4: + * A new property ``system_url`` was added to DTD entities. + * The ``STATIC_*`` variables in ``setup.py`` can now be passed via env vars. +- remove python-lxml-test_etree.patch (upstream) + ------------------------------------------------------------------- Tue Jun 1 19:15:10 UTC 2021 - Matej Cepl diff --git a/python-lxml.spec b/python-lxml.spec index aa27689..e128695 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lxml -Version: 4.6.3 +Version: 4.6.4 Release: 0 Summary: Pythonic XML processing library License: BSD-3-Clause AND GPL-2.0-or-later @@ -26,8 +26,6 @@ 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} @@ -73,7 +71,6 @@ 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