PyXML is a collection of libraries to process XML with Python.
It effectively extends and updates Python's built-in XML libraries
(the xml.* modules). It contains, among other things:
xmlproc: a validating XML 1.0 parser written in Python
Expat: a nonvalidating XML 1.0 parser written in C, plus Python bindings
PySAX: SAX 1 and SAX2 libraries with drivers for most of the parsers
4DOM: a compliant DOM Level 2 implementation written in Python
javadom: a Java-DOM-implementation-to-standard-Python-DOM adapter
pulldom: a DOM implementation that supports lazy instantiation of nodes
marshal: a module for serializing Python objects to XML formats including
WDDX and XML-RPC
sgmlop: a C helper module that can speed up xmllib (deprecated) & sgmllib
It also provides the latest updates/fixes for minidom (the default
xml.dom.implementation), and includes an XPath 1.0 processor for minidom
(xml.xpath). Experimental XSLT 1.0 support for minidom can be added if the
port is installed with WITH_XSLT defined (e.g. "make install WITH_XSLT=yes").
WWW: http://pyxml.sourceforge.net/http://www.python.org/sigs/xml-sig/
===> The following configuration options are available for py27-xml-0.8.4_4:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
XPATH=on
XSLT=off
===> Use 'make config' to modify these settings
textproc/py-xml: remove port
This package has been included into python standard library since python 2.2 or
2.0, but some of our ports used apis not available in stock python xml package.
Now all the issue are fixed and we can finally remove this port.
It is dead upstream and because of it's invasive nature it may break innocent
ports while installed (there were known issues for Eric and Docutils), so it was
removed in most distributions years ago. There is comprehensive summary on
reasons why PyXML was removed at Fedora Project [1]. The same reasons are also
applicable to our tree.
[1] https://fedoraproject.org/wiki/Features/RemovePyXML
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
Update port: textproc/py-xml update to 0.8.4
Attached is a new set of files to replace the entire
textproc/py-xml port. I am the port maintainer.
This version of the port installs PyXML 0.8.4 rather than
0.8.3, turns off XSLT support by default (it is experimental
and may conflict with 4Suite), adds WITHOUT_XPATH and
WITH_XSLT options, uses USE_PYTHON with a version spec
instead of using a pkg-req file to require the right version
of Python, and has an improved pkg-descr.
If this new version is accepted, please also clear PR 74568:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/74568
PR: ports/74974
Submitted by: Mike Brown <mike@skew.org>
Mike Brown (a co-developer of 4Suite) takes over the maintainership
of py-xml and py-4suite. The original maintainer (wjv) have been
too busy to manage these ports for last half year.
Submitted by: Mike Brown <mike@skew.org>
- Update PyXML (textproc/py-xml) to 0.6.5 - Delete obsolete MASTER_SITES -
SourceForge is now the sole official distribution point (and the mirrors
were not being updated). - Now $PREFIX-clean! - Install additional README
files in documentation dir. - Install sample scripts and test suite under
${PREFIX}/share/examples - Now also do optimised compilation of Python modules
during installation. This bloats the install somewhat, but it prevents an
unclean deinstall in some fairly obscure circumstances. And it might even
improve runtimes. - Mild tweaks to $PLIST to ensure that this port will work
properly with its sister package 4Suite. Please see the 4Suite port I've
submitted in PR ports/25939