# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description C implementation of the ElementTree API, \
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
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-elementtree
xinstall -m 644 -W ${worksrcpath} CHANGES README \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
xinstall -m 644 {*}[glob ${worksrcpath}/samples/*] \
${destroot}${prefix}/share/examples/${subport}
livecheck.url http://effbot.org/downloads/
livecheck.regex cElementTree-(\[0-9\.-\]+).tar.gz