Sun Mar 17 15:47:16 2013 UTC ()
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.


(wiz)
diff -r1.14 -r1.15 pkgsrc/textproc/py-lxml/Makefile
diff -r1.7 -r1.8 pkgsrc/textproc/py-lxml/PLIST
diff -r1.8 -r1.9 pkgsrc/textproc/py-lxml/distinfo

cvs diff -r1.14 -r1.15 pkgsrc/textproc/py-lxml/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-lxml/Makefile 2012/12/16 16:15:52 1.14
+++ pkgsrc/textproc/py-lxml/Makefile 2013/03/17 15:47:15 1.15
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1# $NetBSD: Makefile,v 1.14 2012/12/16 16:15:52 wiz Exp $ 1# $NetBSD: Makefile,v 1.15 2013/03/17 15:47:15 wiz Exp $
2# 2#
3 3
4DISTNAME= lxml-3.0.2 4DISTNAME= lxml-3.1.0
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 5PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
6CATEGORIES= textproc 6CATEGORIES= textproc
7MASTER_SITES= http://lxml.de/files/ 7MASTER_SITES= http://lxml.de/files/
8EXTRACT_SUFX= .tgz 8EXTRACT_SUFX= .tgz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://lxml.de/ 11HOMEPAGE= http://lxml.de/
12COMMENT= Python binding for libxml2 and libxslt 12COMMENT= Python binding for libxml2 and libxslt
13LICENSE= modified-bsd 13LICENSE= modified-bsd
14 14
15TEST_TARGET= test_inplace 15TEST_TARGET= test_inplace
16PYTHON_VERSIONS_INCLUDE_3X= yes 16PYTHON_VERSIONS_INCLUDE_3X= yes
17 17
18.include "../../lang/python/egg.mk" 18.include "../../lang/python/distutils.mk"
19BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.8 19BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.7.8
20.include "../../textproc/libxml2/buildlink3.mk" 20.include "../../textproc/libxml2/buildlink3.mk"
21BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.26 21BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.26
22.include "../../textproc/libxslt/buildlink3.mk" 22.include "../../textproc/libxslt/buildlink3.mk"
23.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"

cvs diff -r1.7 -r1.8 pkgsrc/textproc/py-lxml/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-lxml/PLIST 2012/10/21 21:34:42 1.7
+++ pkgsrc/textproc/py-lxml/PLIST 2013/03/17 15:47:15 1.8
@@ -1,19 +1,15 @@ @@ -1,19 +1,15 @@
1@comment $NetBSD: PLIST,v 1.7 2012/10/21 21:34:42 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.8 2013/03/17 15:47:15 wiz Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_FILE}
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
7${PYSITELIB}/lxml/ElementInclude.py 3${PYSITELIB}/lxml/ElementInclude.py
8${PYSITELIB}/lxml/ElementInclude.pyc 4${PYSITELIB}/lxml/ElementInclude.pyc
9${PYSITELIB}/lxml/ElementInclude.pyo 5${PYSITELIB}/lxml/ElementInclude.pyo
10${PYSITELIB}/lxml/__init__.py 6${PYSITELIB}/lxml/__init__.py
11${PYSITELIB}/lxml/__init__.pyc 7${PYSITELIB}/lxml/__init__.pyc
12${PYSITELIB}/lxml/__init__.pyo 8${PYSITELIB}/lxml/__init__.pyo
13${PYSITELIB}/lxml/_elementpath.py 9${PYSITELIB}/lxml/_elementpath.py
14${PYSITELIB}/lxml/_elementpath.pyc 10${PYSITELIB}/lxml/_elementpath.pyc
15${PYSITELIB}/lxml/_elementpath.pyo 11${PYSITELIB}/lxml/_elementpath.pyo
16${PYSITELIB}/lxml/builder.py 12${PYSITELIB}/lxml/builder.py
17${PYSITELIB}/lxml/builder.pyc 13${PYSITELIB}/lxml/builder.pyc
18${PYSITELIB}/lxml/builder.pyo 14${PYSITELIB}/lxml/builder.pyo
19${PYSITELIB}/lxml/cssselect.py 15${PYSITELIB}/lxml/cssselect.py

cvs diff -r1.8 -r1.9 pkgsrc/textproc/py-lxml/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-lxml/distinfo 2012/12/16 16:15:52 1.8
+++ pkgsrc/textproc/py-lxml/distinfo 2013/03/17 15:47:15 1.9
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.8 2012/12/16 16:15:52 wiz Exp $ 1$NetBSD: distinfo,v 1.9 2013/03/17 15:47:15 wiz Exp $
2 2
3SHA1 (lxml-3.0.2.tgz) = 5e51a5827024e16d116614e2b2aa447ac95e1dd9 3SHA1 (lxml-3.1.0.tgz) = f9e1e319c1468078f36b65633c5fdc0729e844e7
4RMD160 (lxml-3.0.2.tgz) = 004772ff02415de2f7e04db443728104a856cda1 4RMD160 (lxml-3.1.0.tgz) = ce2eb902951fab5030f154033908983dc71b0dce
5Size (lxml-3.0.2.tgz) = 1881928 bytes 5Size (lxml-3.1.0.tgz) = 3269719 bytes