pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-lxml 3.8.0 (2017-06-03)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/847e64bc1430
branches:  trunk
changeset: 363227:847e64bc1430
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jun 04 19:17:51 2017 +0000

description:
3.8.0 (2017-06-03)

Features added
--------------
* ``ElementTree.write()`` has a new option ``doctype`` that writes out a
  doctype string before the serialisation, in the same way as ``tostring()``.

* GH-220: ``xmlfile`` allows switching output methods at an element level.
  Patch by Burak Arslan.

* LP-1595781, GH-240: added a PyCapsule Python API and C-level API for
  passing externally generated libxml2 documents into lxml.

* GH-244: error log entries have a new property ``path`` with an XPath
  expression (if known, None otherwise) that points to the tree element
  responsible for the error. Patch by Bob Kline.

* The namespace prefix mapping that can be used in ElementPath now injects
  a default namespace when passing a None prefix.

Bugs fixed
----------
* GH-238: Character escapes were not hex-encoded in the ``xmlfile`` serialiser.
  Patch by matejcik.

* GH-229: fix for externally created XML documents.  Patch by Theodore Dubois.

* LP-1665241, GH-228: Form data handling in lxml.html no longer strips the
  option values specified in form attributes but only the text values.
  Patch by Ashish Kulkarni.

* LP-1551797: revert previous fix for XSLT error logging as it breaks
  multi-threaded XSLT processing.

* LP-1673355, GH-233: ``fromstring()`` html5parser failed to parse byte strings.

Other changes
-------------
* The previously undocumented ``docstring`` option in ``ElementTree.write()``
  produces a deprecation warning and will eventually be removed.

diffstat:

 textproc/py-lxml/Makefile |   4 ++--
 textproc/py-lxml/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 73f4b202cd3a -r 847e64bc1430 textproc/py-lxml/Makefile
--- a/textproc/py-lxml/Makefile Sun Jun 04 16:51:23 2017 +0000
+++ b/textproc/py-lxml/Makefile Sun Jun 04 19:17:51 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2017/05/04 21:19:29 adam Exp $
+# $NetBSD: Makefile,v 1.45 2017/06/04 19:17:51 adam Exp $
 
-DISTNAME=      lxml-3.7.3
+DISTNAME=      lxml-3.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lxml/}
diff -r 73f4b202cd3a -r 847e64bc1430 textproc/py-lxml/distinfo
--- a/textproc/py-lxml/distinfo Sun Jun 04 16:51:23 2017 +0000
+++ b/textproc/py-lxml/distinfo Sun Jun 04 19:17:51 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2017/05/04 21:19:29 adam Exp $
+$NetBSD: distinfo,v 1.33 2017/06/04 19:17:51 adam Exp $
 
-SHA1 (lxml-3.7.3.tar.gz) = bce8b3101ed0de7440f00d7960a6a7a46ce50433
-RMD160 (lxml-3.7.3.tar.gz) = b2f1c34f90ef8aae9916e3c710dfb3675024a734
-SHA512 (lxml-3.7.3.tar.gz) = 9bf1142e81b6e1c8a47e296774d7e448d9ed47de3672f7442cc33274b07252baa47a9346efa9d2fda7b7bb66beb95bbc81f0ae16c9f808ff568f330991dd6d13
-Size (lxml-3.7.3.tar.gz) = 3797713 bytes
+SHA1 (lxml-3.8.0.tar.gz) = 9cc81a0b1559a21812cde9c42ca90ccd5c95e138
+RMD160 (lxml-3.8.0.tar.gz) = 1aa0e48d5eb02a233e4982337412a8fdc48a7501
+SHA512 (lxml-3.8.0.tar.gz) = 08f6f352e22ed2bc199a5f34a1c6b5f7b41ec282dc0026c9f16a06466c27e39e8eb18608ba4493636170eeac4b0194f7050445e1cc9bd0a4628573c404593088
+Size (lxml-3.8.0.tar.gz) = 3795205 bytes



Home | Main Index | Thread Index | Old Index