Ignore:
Timestamp:
Sep 13, 2014, 2:21:04 PM (5 years ago)
Author:
jmr@…
Message:

py26-pyfsevents: use unified python portgroup

Location:
trunk/dports/python/py-pyfsevents
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyfsevents/Portfile

    r87583 r125317  
    22
    33PortSystem          1.0
    4 PortGroup           python26 1.0
    5 name                py26-pyfsevents
     4PortGroup           python 1.0
     5
     6name                py-pyfsevents
    67version             0.2b1
    78maintainers         nomaintainer
     
    1617license             MIT
    1718
    18 homepage            http://pypi.python.org/pypi/pyfsevents
    19 master_sites        http://pypi.python.org/packages/source/p/pyfsevents/
     19homepage            https://pypi.python.org/pypi/pyfsevents
     20master_sites        https://pypi.python.org/packages/source/p/pyfsevents/
    2021distname            pyfsevents-${version}
    2122
     
    2425                    rmd160  a5f9486dc6ffd08e502aba7dd444c8aa7b9026dc
    2526
    26 post-destroot {
    27    xinstall -m 644 -W ${worksrcpath} BUGS LICENSE README \
    28       ${destroot}${prefix}/share/doc/${name}
    29    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
    30    eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
    31       ${destroot}${prefix}/share/examples/${name}
     27python.versions     26
     28
     29if {$subport ne $name} {
     30    post-destroot {
     31       xinstall -m 644 -W ${worksrcpath} BUGS LICENSE README \
     32          ${destroot}${prefix}/share/doc/${subport}
     33       xinstall -m 755 -d ${destroot}${prefix}/share/examples/${subport}
     34       eval xinstall -m 644 [glob ${worksrcpath}/examples/*] \
     35          ${destroot}${prefix}/share/examples/${subport}
     36    }
     37    livecheck.type      none
     38} else {
     39    livecheck.type      regex
     40    livecheck.url       [lindex ${master_sites} 0]
     41    livecheck.regex     pyfsevents-(\[\\w.\]+)${extract.suffix}
    3242}
    3343
    3444platform darwin 8 {
    3545   pre-fetch {
    36       error "${name} needs at least 10.5 to function"
     46      error "${subport} needs at least 10.5 to function"
    3747   }
    3848}
    39 
    40 livecheck.type      regex
    41 livecheck.url       [lindex ${master_sites} 0]
    42 livecheck.regex     pyfsevents-(\[\\w.\]+)${extract.suffix}
    43 
Note: See TracChangeset for help on using the changeset viewer.