py-lxml: updated to 4.7.1 4.7.1 (2021-12-13) Features added Chunked Unicode string parsing via parser.feed() now encodes the input data to the native UTF-8 encoding directly, instead of going through Py_UNICODE / wchar_t encoding first, which previously required duplicate recoding in most cases. Bugs fixed The standard namespace prefixes were mishandled during "C14N2" serialisation on Python 3. See https://mail.python.org/archives/list/lxml@python.org/thread/6ZFBHFOVHOS5GFDOAMPCT6HM5HZPWQ4Q/ lxml.objectify previously accepted non-XML numbers with underscores (like "1_000") as integers or float values in Python 3.6 and later. It now adheres to the number format of the XML spec again. Static wheels of lxml now contain the header files of zlib and libiconv (in addition to the already provided headers of libxml2/libxslt/libexslt). Other changes Wheels include libxml2 2.9.12+ and libxslt 1.1.34 (also on Windows). 4.7.0 (2021-12-13) Release retracted due to missing files in lxml/includes/. 4.6.5 (2021-12-12) Bugs fixed A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script content through SVG images (CVE-2021-43818). A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script content through CSS imports and other crafted constructs (CVE-2021-43818).diff -r1.77 -r1.78 pkgsrc/textproc/py-lxml/Makefile
(adam)
@@ -1,27 +1,26 @@ | @@ -1,27 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.77 2021/12/08 16:06:46 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.78 2021/12/16 20:17:10 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= lxml-4.6.4 | 3 | DISTNAME= lxml-4.7.1 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= textproc python | 5 | CATEGORIES= textproc python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://lxml.de/ | 9 | HOMEPAGE= https://lxml.de/ | |
11 | COMMENT= Python binding for libxml2 and libxslt | 10 | COMMENT= Python binding for libxml2 and libxslt | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.7:../../textproc/py-cssselect | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-cssselect>=0.7:../../textproc/py-cssselect | |
16 | 15 | |||
17 | PYSETUPTESTARGS= --run-tests | 16 | PYSETUPTESTARGS= --run-tests | |
18 | 17 | |||
19 | .include "../../devel/zlib/buildlink3.mk" | 18 | .include "../../devel/zlib/buildlink3.mk" | |
20 | .include "../../lang/python/egg.mk" | 19 | .include "../../lang/python/egg.mk" | |
21 | BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.2 | 20 | BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.9.12 | |
22 | .include "../../textproc/libxml2/buildlink3.mk" | 21 | .include "../../textproc/libxml2/buildlink3.mk" | |
23 | BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.27 | 22 | BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.34 | |
24 | .include "../../textproc/libxslt/buildlink3.mk" | 23 | .include "../../textproc/libxslt/buildlink3.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" | |
26 | # fix for UnicodeEncodeError: 'ascii' codec can't encode characters | 25 | # fix for UnicodeEncodeError: 'ascii' codec can't encode characters | |
27 | TEST_ENV+= LC_ALL=en_US.UTF-8 | 26 | TEST_ENV+= LC_ALL=en_US.UTF-8 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.61 2021/11/03 09:38:40 adam Exp $ | 1 | $NetBSD: distinfo,v 1.62 2021/12/16 20:17:10 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (lxml-4.6.4.tar.gz) = b367dee2bbfd4f61f048696ab916d865247408bb50a2dfc4dbf4feb3e8ef2682 | 3 | BLAKE2s (lxml-4.7.1.tar.gz) = 0944164c534767fc9a0ceac389b8de1e522b4bba16d2248d3a2f7614b5c6b728 | |
4 | SHA512 (lxml-4.6.4.tar.gz) = 5398bd70f1be5ea84365643856ca2b293c466c0e128f54eefe4a19a779a507f0e3e83575c4850d6a735ce75d56a619b59673913ef5b0ce6cb183a19b5bcf32fe | 4 | SHA512 (lxml-4.7.1.tar.gz) = dd0d421e10db6c9084cf5b2c04a4fc54d74bd62b4dfa83efcf92dd46cd1c5f043c47613521b2de04c450b83eb1161d197b017c53e615e5785e97e7afe106b6cf | |
5 | Size (lxml-4.6.4.tar.gz) = 3177833 bytes | 5 | Size (lxml-4.7.1.tar.gz) = 3204203 bytes | |
6 | SHA1 (patch-setupinfo.py) = 264e934a4e5c095b0a65769798bf94db394d03e1 | 6 | SHA1 (patch-setupinfo.py) = 264e934a4e5c095b0a65769798bf94db394d03e1 |