a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22119 2007-02-18 00:28:00Z mww@macports.org $
PortSystem 1.0
PortGroup python24 1.0
name py-celementtree
version 1.0.5-20051216
categories python
platforms darwin
maintainers mww@macports.org
description C implementation of the ElementTree API, py-elementtree
long_description The cElementTree module is a C implementation of the \
ElementTree API. On typical documents, it's 15-20 times faster \
than the Python version of ElementTree, and uses 2-5 times \
less memory.
homepage http://effbot.org/zone/celementtree.htm
master_sites http://effbot.org/downloads/
distname cElementTree-${version}
checksums sha1 b36c95fd90d53746424c10db45b102b8fab260b8
use_zip yes
depends_lib-append port:py-elementtree
test.run yes
test.cmd ${python.bin}
test.target selftest.py
post-destroot {
xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/samples simple-ns.xml simple.xml \
${destroot}${prefix}/share/doc/${name}/examples
}