summaryrefslogtreecommitdiff
path: root/textproc/py-lxml
diff options
context:
space:
mode:
authorwiz <wiz>2013-03-17 15:47:15 +0000
committerwiz <wiz>2013-03-17 15:47:15 +0000
commitc4edddf652748590570eae39b44fe692c3f7b626 (patch)
tree0228711bbb412d26feb669f5d9865fcd14bda143 /textproc/py-lxml
parentd5949d2d03b04384f1fee0a7eda3007c11bf2ba0 (diff)
downloadpkgsrc-c4edddf652748590570eae39b44fe692c3f7b626.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/py-lxml')
-rw-r--r--textproc/py-lxml/Makefile6
-rw-r--r--textproc/py-lxml/PLIST8
-rw-r--r--textproc/py-lxml/distinfo8
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