./textproc/py-lxml, Python binding for libxml2 and libxslt

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.8.0, Package name: py27-lxml-3.8.0, Maintainer: pkgsrc-users

lxml is a Pythonic binding for the libxml2 and libxslt libraries.
It is unique in that it combines the speed and feature completeness
of these libraries with the simplicity of a native Python API,
mostly compatible but superior to the well-known ElementTree API.


Required to run:
[textproc/libxml2] [textproc/libxslt] [devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 9cc81a0b1559a21812cde9c42ca90ccd5c95e138
RMD160: 1aa0e48d5eb02a233e4982337412a8fdc48a7501
Filesize: 3706.255 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-04 21:17:51 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
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.
   2017-05-04 23:19:29 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.7.3:
Bugs fixed
* GH-218 was ineffective in Python 3.
* GH-222: lxml.html.submit_form() failed in Python 3.
   2017-01-17 13:58:29 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix typo.
   2017-01-17 12:10:13 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add another bug report for failing tests.
   2017-01-16 12:07:12 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-lxml to 3.7.2.

==============
lxml changelog
==============

3.7.2 (2017-01-08)
==================

Bugs fixed
----------

* Work around installation problems in recent Python 2.7 versions
  due to FTP download failures.

* GH#219: ``xmlfile.element()`` was not properly quoting attribute values.
  Patch by Burak Arslan.

* GH#218: ``xmlfile.element()`` was not properly escaping text content of
  script/style tags.  Patch by Burak Arslan.
   2017-01-01 16:22:59 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-lxml to 3.7.1.

3.7.1 (2016-12-23)
==================

* No source changes, issued only to solve problems with the
  binary packages released for 3.7.0.
   2016-12-12 15:11:33 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-lxml to 3.7.0.

3.7.0 (2016-12-10)
==================

Features added
--------------

* GH#217: ``XMLSyntaxError`` now behaves more like its ``SyntaxError``
  baseclass.  Patch by Philipp A.

* GH#216: ``HTMLParser()`` now supports the same ``collect_ids`` parameter
  as ``XMLParser()``.  Patch by Burak Arslan.

* GH#210: Allow specifying a serialisation method in ``xmlfile.write()``.
  Patch by Burak Arslan.

* GH#203: New option ``default_doctype`` in ``HTMLParser`` that allows
  disabling the automatic doctype creation.  Patch by Shadab Zafar.

* GH#201: Calling the method ``.set('attrname')`` without value argument
  (or ``None``) on HTML elements creates an attribute without value that
  serialises like ``<div attrname></div>``.  Patch by Daniel Holth.

* GH#197: Ignore form input fields in ``form_values()`` when they are
  marked as ``disabled`` in HTML.  Patch by Kristian Klemon.

Bugs fixed
----------

* GH#206: File name and line number were missing from XSLT error messages.
  Patch by Marcus Brinkmann.

Other changes
-------------

* Log entries no longer allow anything but plain string objects as message text
  and file name.

* ``zlib`` is included in the list of statically built libraries.
   2016-08-22 16:01:35 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-lxml to 3.6.4.

3.6.4 (2016-08-20)
==================

* GH#204, LP#1614693: build fix for MacOS-X.

3.6.3 (2016-08-18)
==================

* LP#1614603: change linker flags to build multi-linux wheels

3.6.2 (2016-08-18)
==================

* LP#1614603: release without source changes to provide cleanly built Linux wheels