Changeset 49907


Ignore:
Timestamp:
Apr 19, 2009, 10:00:05 PM (11 years ago)
Author:
blb@…
Message:

New port - python/py26-celementtree, C implementation of the ElementTree API, py-elementtree

Location:
trunk/dports/python/py26-celementtree
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py26-celementtree/Portfile

    r28865 r49907  
    22
    33PortSystem 1.0
    4 PortGroup python25 1.0
     4PortGroup python26 1.0
    55
    6 name                    py25-celementtree
     6name                    py26-celementtree
    77version                 1.0.5-20051216
    88categories              python
    99platforms               darwin
    10 maintainers             afb@macports.org openmaintainer
     10maintainers             nomaintainer
    1111description             C implementation of the ElementTree API, py-elementtree
    1212long_description        The cElementTree module is a C implementation of the \
     
    2121use_zip                 yes
    2222
    23 depends_lib-append      port:py25-elementtree
     23depends_lib-append      port:py26-elementtree
    2424
    2525test.run                yes
     
    2828
    2929post-destroot   {
    30         xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
    31         xinstall -m 644 -W ${worksrcpath}/samples simple-ns.xml simple.xml \
    32                 ${destroot}${prefix}/share/doc/${name}/examples
     30        xinstall -m 644 -W ${worksrcpath} CHANGES README \
     31                ${destroot}${prefix}/share/doc/${name}
     32        xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
     33        eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
     34                ${destroot}${prefix}/share/examples/${name}
    3335}
     36
    3437livecheck.check regex
    3538livecheck.url   http://effbot.org/downloads/
    3639livecheck.regex cElementTree-(\[0-9\.-\]+).tar.gz
     40
Note: See TracChangeset for help on using the changeset viewer.