diff options
author | wiz <wiz@pkgsrc.org> | 2013-03-17 15:47:15 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-03-17 15:47:15 +0000 |
commit | 6239e9f310c43f3e5bb201a410abb62b06b2ea14 (patch) | |
tree | 0228711bbb412d26feb669f5d9865fcd14bda143 /textproc | |
parent | 7d3488e4c22077cd35cf715236373a18ebb7a4da (diff) | |
download | pkgsrc-6239e9f310c43f3e5bb201a410abb62b06b2ea14.tar.gz |
Update to 3.1.0:
3.1.0 (2013-02-10)
==================
Features added
--------------
* GH#89: lxml.html.clean allows overriding the set of attributes that it
considers 'safe'. Patch by Francis Devereux.
Bugs fixed
----------
* LP#1104370: ``copy.copy(el.attrib)`` raised an exception. It now returns
a copy of the attributes as a plain Python dict.
* GH#95: When used with namespace prefixes, the ``el.find*()`` methods
always used the first namespace mapping that was provided for each
path expression instead of using the one that was actually passed
in for the current run.
* LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled
without threading support. Patch by Ulrich Seidl.
Other changes
-------------
3.1beta1 (2012-12-21)
=====================
Features added
--------------
* New build-time option ``--with-unicode-strings`` for Python 2 that
makes the API always return Unicode strings for names and text
instead of byte strings for plain ASCII content.
* New incremental XML file writing API ``etree.xmlfile()``.
* E factory in lxml.objectify is callable to simplify the creation of
tags with non-identifier names without having to resort to getattr().
Bugs fixed
----------
* When starting from a non-namespaced element in lxml.objectify, searching
for a child without explicitly specifying a namespace incorrectly found
namespaced elements with the requested local name, instead of restricting
the search to non-namespaced children.
* GH#85: Deprecation warnings were fixed for Python 3.x.
* GH#33: lxml.html.fromstring() failed to accept bytes input in Py3.
* LP#1080792: Static build of libxml2 2.9.0 failed due to missing file.
Other changes
-------------
* The externally useless class ``_ObjectifyElementMakerCaller`` was
removed from the module API of lxml.objectify.
* LP#1075622: lxml.builder is faster for adding text to elements with
many children. Patch by Anders Hammarquist.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-lxml/Makefile | 6 | ||||
-rw-r--r-- | textproc/py-lxml/PLIST | 8 | ||||
-rw-r--r-- | textproc/py-lxml/distinfo | 8 |
3 files changed, 9 insertions, 13 deletions
diff --git a/textproc/py-lxml/Makefile b/textproc/py-lxml/Makefile index efe2d0e7a85..bccd4d82a5d 100644 --- a/textproc/py-lxml/Makefile +++ b/textproc/py-lxml/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.14 2012/12/16 16:15:52 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2013/03/17 15:47:15 wiz Exp $ # -DISTNAME= lxml-3.0.2 +DISTNAME= lxml-3.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc MASTER_SITES= http://lxml.de/files/ @@ -15,7 +15,7 @@ LICENSE= modified-bsd TEST_TARGET= test_inplace PYTHON_VERSIONS_INCLUDE_3X= yes -.include "../../lang/python/egg.mk" +.include "../../lang/python/distutils.mk" BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.8 .include "../../textproc/libxml2/buildlink3.mk" BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.26 diff --git a/textproc/py-lxml/PLIST b/textproc/py-lxml/PLIST index aaecb7a2c1a..5991601ecea 100644 --- a/textproc/py-lxml/PLIST +++ b/textproc/py-lxml/PLIST @@ -1,9 +1,5 @@ -@comment $NetBSD: PLIST,v 1.7 2012/10/21 21:34:42 wiz Exp $ -${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PYSITELIB}/${EGG_INFODIR}/not-zip-safe -${PYSITELIB}/${EGG_INFODIR}/top_level.txt +@comment $NetBSD: PLIST,v 1.8 2013/03/17 15:47:15 wiz Exp $ +${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/lxml/ElementInclude.py ${PYSITELIB}/lxml/ElementInclude.pyc ${PYSITELIB}/lxml/ElementInclude.pyo diff --git a/textproc/py-lxml/distinfo b/textproc/py-lxml/distinfo index 0c25871dd10..c025865a058 100644 --- a/textproc/py-lxml/distinfo +++ b/textproc/py-lxml/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2012/12/16 16:15:52 wiz Exp $ +$NetBSD: distinfo,v 1.9 2013/03/17 15:47:15 wiz Exp $ -SHA1 (lxml-3.0.2.tgz) = 5e51a5827024e16d116614e2b2aa447ac95e1dd9 -RMD160 (lxml-3.0.2.tgz) = 004772ff02415de2f7e04db443728104a856cda1 -Size (lxml-3.0.2.tgz) = 1881928 bytes +SHA1 (lxml-3.1.0.tgz) = f9e1e319c1468078f36b65633c5fdc0729e844e7 +RMD160 (lxml-3.1.0.tgz) = ce2eb902951fab5030f154033908983dc71b0dce +Size (lxml-3.1.0.tgz) = 3269719 bytes |