# $Id$ PortSystem 1.0 PortGroup python24 1.0 name py-elementtree version 1.2.6-20050316 revision 1 categories python platforms darwin maintainers mww description flexible container object for python long_description The Element type is a simple but flexible container \ object, designed to store hierarchical data structures, such \ as simplified XML infosets, in memory. The element type can be \ described as a cross between a Python list and a Python \ dictionary. homepage http://effbot.org/zone/element-index.htm master_sites http://effbot.org/downloads/ distname elementtree-${version} checksums md5 6751a9005efbd2c543ef32905d4a0acd use_zip yes patchfiles patch-setup.py depends_build-append port:py-setuptools post-extract { file copy ${filespath}/ez_setup.py ${worksrcpath} } 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 eval file copy [glob ${worksrcpath}/docs/*] \ ${destroot}/${prefix}/share/doc/${name} } livecheck.check regex livecheck.url http://effbot.org/downloads/ livecheck.regex elementtree-(\[0-9\.-\]+).tar.gz