From 673e38f8ffc1605eae5aad175586e222c97e873f Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 7 Aug 2023 20:08:43 +0200 Subject: [PATCH] python3-lxml: update to 4.9.3. --- srcpkgs/python3-lxml/patches/fix-tests-io.patch | 13 +++++++++++++ srcpkgs/python3-lxml/template | 5 +++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/python3-lxml/patches/fix-tests-io.patch diff --git a/srcpkgs/python3-lxml/patches/fix-tests-io.patch b/srcpkgs/python3-lxml/patches/fix-tests-io.patch new file mode 100644 index 0000000000000..9a3001d4e9265 --- /dev/null +++ b/srcpkgs/python3-lxml/patches/fix-tests-io.patch @@ -0,0 +1,13 @@ +diff --git a/src/lxml/tests/test_io.py b/src/lxml/tests/test_io.py +index cbdbcef..efbd3fd 100644 +--- a/src/lxml/tests/test_io.py ++++ b/src/lxml/tests/test_io.py +@@ -312,6 +312,7 @@ class _IOTestCaseBase(HelperTestCase): + self.assertEqual(5, len(boms)) + xml = uxml.encode("utf-16") + self.assertTrue(xml[:2] in boms, repr(xml[:2])) ++ return True + + f = tempfile.NamedTemporaryFile(delete=False) + try: + diff --git a/srcpkgs/python3-lxml/template b/srcpkgs/python3-lxml/template index f126c4005fbf1..8251b74c7b53f 100644 --- a/srcpkgs/python3-lxml/template +++ b/srcpkgs/python3-lxml/template @@ -1,6 +1,6 @@ # Template file for 'python3-lxml' pkgname=python3-lxml -version=4.9.2 +version=4.9.3 revision=1 build_style=python3-module make_build_args="--with-cython" @@ -12,8 +12,9 @@ short_desc="Python binding for the libxml2 and libxslt libraries" maintainer="Orphaned " license="BSD-3-Clause, custom:ElementTree" homepage="https://lxml.de/" +changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt" distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz" -checksum=c057e334efc357fc88eb71b888d2df3a44cf3c7aaac56a8753e92090c5217050 +checksum=42b9ab83cb8739d817c7fff41c20f31aa61625bb6f6ab333873a5f3406b139ac do_check() { make test3