Update to 5.3.1 (rhbz#2344609)
This commit is contained in:
parent
f75dd54e14
commit
c1103ff3c3
4 changed files with 3 additions and 48 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -67,3 +67,4 @@ lxml-2.2.7.tar.gz.asc
|
|||
/lxml-5.2.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.2.1-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.3.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.3.1-no-isoschematron-rng.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
From 9e95960cd69a3e0393f4266d60a6f5a2a755de0d Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Behnel <stefan_ml@behnel.de>
|
||||
Date: Fri, 25 Oct 2024 15:50:04 +0200
|
||||
Subject: [PATCH] Fix missing "//" in file URLs under Py3.14. Closes
|
||||
https://bugs.launchpad.net/bugs/2085619
|
||||
|
||||
---
|
||||
src/lxml/tests/common_imports.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/lxml/tests/common_imports.py b/src/lxml/tests/common_imports.py
|
||||
index 2d371852c..83c3a909a 100644
|
||||
--- a/src/lxml/tests/common_imports.py
|
||||
+++ b/src/lxml/tests/common_imports.py
|
||||
@@ -103,7 +103,7 @@ def tearDown(self):
|
||||
def parse(self, text, parser=None):
|
||||
f = BytesIO(text) if isinstance(text, bytes) else StringIO(text)
|
||||
return etree.parse(f, parser=parser)
|
||||
-
|
||||
+
|
||||
def _rootstring(self, tree):
|
||||
return etree.tostring(tree.getroot()).replace(
|
||||
b' ', b'').replace(b'\n', b'')
|
||||
@@ -118,7 +118,7 @@ def assertRegex(self, *args, **kwargs):
|
||||
class SillyFileLike:
|
||||
def __init__(self, xml_data=b'<foo><bar/></foo>'):
|
||||
self.xml_data = xml_data
|
||||
-
|
||||
+
|
||||
def read(self, amount=None):
|
||||
if self.xml_data:
|
||||
if amount:
|
||||
@@ -202,7 +202,7 @@ def fileInTestDir(name):
|
||||
|
||||
def path2url(path):
|
||||
return urlparse.urljoin(
|
||||
- 'file:', pathname2url(path))
|
||||
+ 'file://', pathname2url(path))
|
||||
|
||||
|
||||
def fileUrlInTestDir(name):
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
Name: python-lxml
|
||||
Version: 5.3.0
|
||||
Version: 5.3.1
|
||||
Release: %autorelease
|
||||
Summary: XML processing library combining libxml2/libxslt with the ElementTree API
|
||||
|
||||
|
|
@ -16,11 +16,6 @@ URL: https://github.com/lxml/lxml
|
|||
Source0: lxml-%{version}-no-isoschematron-rng.tar.gz
|
||||
Source1: get-lxml-source.sh
|
||||
|
||||
# Fix missing "//" in file URLs under Python 3.14
|
||||
# https://bugs.launchpad.net/bugs/2085619
|
||||
# https://bugzilla.redhat.com/2335830
|
||||
Patch: https://github.com/lxml/lxml/commit/9e95960cd6.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libxslt-devel
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (lxml-5.3.0-no-isoschematron-rng.tar.gz) = 4e16640e59f74f38d78382b33b8d1797d03da1eca5890c3a2f5b359e21ede86a3dd1394a59734554b9f25c95548df3586e95080f520082b05f60e89e558b127e
|
||||
SHA512 (lxml-5.3.1-no-isoschematron-rng.tar.gz) = 768689dead251cb493575ff2572e6bd33eff1b2e446afc9bcf7753be4ad37dcc9098362ee919288bf2ce8bf2425e0ca180cd9e7423a378b091363c9765028f67
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue