Changeset 99008
- Timestamp:
- Oct 23, 2012, 5:05:41 PM (12 years ago)
- Location:
- trunk/dports/python
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-celementtree/Portfile
r93592 r99008 2 2 3 3 PortSystem 1.0 4 PortGroup python 241.04 PortGroup python 1.0 5 5 6 6 name py-celementtree 7 7 version 1.0.5-20051216 8 categories python 8 license MIT BSD 9 9 platforms darwin 10 maintainers nomaintainer10 maintainers afb openmaintainer 11 11 description C implementation of the ElementTree API, py-elementtree 12 12 long_description The cElementTree module is a C implementation of the \ … … 21 21 use_zip yes 22 22 23 depends_lib-append port:py24-elementtree 23 python.versions 24 25 26 24 24 25 test.run yes 26 test.cmd ${python.bin} 27 test.target selftest.py 25 if {$subport != $name} { 26 depends_lib-append port:py${python.version}-elementtree 28 27 29 post-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 28 test.run yes 29 test.cmd ${python.bin} 30 test.target selftest.py 31 32 post-destroot { 33 xinstall -m 644 -W ${worksrcpath} CHANGES README \ 34 ${destroot}${prefix}/share/doc/${subport} 35 xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport} 36 eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \ 37 ${destroot}${prefix}/share/examples/${subport} 38 } 39 livecheck.type none 40 } else { 41 livecheck.type regex 42 livecheck.url http://effbot.org/downloads/ 43 livecheck.regex cElementTree-(\[0-9\.-\]+).tar.gz 33 44 } 34 livecheck.type regex35 livecheck.url http://effbot.org/downloads/36 livecheck.regex cElementTree-(\[0-9\.-\]+).tar.gz
Note: See TracChangeset
for help on using the changeset viewer.