[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Proposed patch for python 2. to enable elementtree
Attached is a patch to simply install the _elementtree module Pythons
2.5 and 2.6 and deprecate the textproc/py-elementtree package.
The ElementTree package, and its C-optimized module called
cElementTree, provides support for processing XML files. We have a
corresponding textproc/py-elementtree package, which curiously doesn't
install the optimized cElementTree module.
Python 2.5 and 2.6 now include ElementTree and cElementTree.
Unfortunately the in-tree variants have had some renaming from the
external distributions: the classes have been moved from elementtree.*
to xml.etree.*, and the cElementTree module has been renamed to
Unfortunately because of the renaming, simply installing the py-
elementtree is not sufficient to enable the functionality. Since the
py-elementtree package must support lang/python2, we can't just
change py-elementtree to follow the EXTRACT_ELEMENTS approach used in
py-expat. We could add a py-celementtree with a CONFLICTS on py-
But since _elementtree doesn't have any other dependencies, I propose
we simply change the lang/python2 packages to install the in-tree
_elementtree module, and mark the py-elementtree package as being for
Python 2.4 and 2.3. The patch also adds _sqlite3 to the disabled
modules in python26; this seems to have been missed.
@comment $NetBSD: PLIST,v 188.8.131.52 2008/08/27 00:28:57 epg Exp $
Main Index |
Thread Index |