mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python3-lxml: update to 5.4.0.
This commit is contained in:
parent
993157388a
commit
d79052ed85
2 changed files with 6 additions and 25 deletions
|
@ -1,19 +0,0 @@
|
||||||
from alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/3f64a63298ac78f5f2a50a52e3e3f01eef1b51ce/main/py3-lxml/tests-fix-encoding-name.patch
|
|
||||||
|
|
||||||
diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
|
|
||||||
index 3162155..43b79d7 100644
|
|
||||||
--- a/src/lxml/tests/test_incremental_xmlfile.py
|
|
||||||
+++ b/src/lxml/tests/test_incremental_xmlfile.py
|
|
||||||
@@ -177,10 +177,10 @@ class _XmlFileTestCaseBase(HelperTestCase):
|
|
||||||
'<test>Comments: <!-- text -->\nEntities: &amp;</test>')
|
|
||||||
|
|
||||||
def test_encoding(self):
|
|
||||||
- with etree.xmlfile(self._file, encoding='utf16') as xf:
|
|
||||||
+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
|
|
||||||
with xf.element('test'):
|
|
||||||
xf.write('toast')
|
|
||||||
- self.assertXml('<test>toast</test>', encoding='utf16')
|
|
||||||
+ self.assertXml('<test>toast</test>', encoding='utf-16')
|
|
||||||
|
|
||||||
def test_buffering(self):
|
|
||||||
with etree.xmlfile(self._file, buffered=False) as xf:
|
|
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'python3-lxml'
|
# Template file for 'python3-lxml'
|
||||||
pkgname=python3-lxml
|
pkgname=python3-lxml
|
||||||
version=5.3.0
|
version=5.4.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
make_build_args="--with-cython"
|
make_build_args="-C--build-option=--with-cython"
|
||||||
hostmakedepends="python3-Cython python3-setuptools"
|
hostmakedepends="python3-Cython python3-setuptools python3-wheel"
|
||||||
makedepends="libxslt-devel python3-devel"
|
makedepends="libxslt-devel python3-devel"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
|
checkdepends="python3-cssselect python3-BeautifulSoup4 python3-html5lib"
|
||||||
|
@ -14,7 +14,7 @@ license="BSD-3-Clause, custom:ElementTree"
|
||||||
homepage="https://lxml.de/"
|
homepage="https://lxml.de/"
|
||||||
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
|
changelog="https://raw.githubusercontent.com/lxml/lxml/master/CHANGES.txt"
|
||||||
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
|
distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz"
|
||||||
checksum=eb22f7ceb319c29247cfa398435d00e6286d19a32b4870b67a8e9a38d72f2ebd
|
checksum=12ed971a99bd07977e236bf59314cfd53fbf5d59f39d4a13caad901c7fceb0a2
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
make test
|
make test
|
||||||
|
|
Loading…
Add table
Reference in a new issue