Changeset 89397


Ignore:
Timestamp:
Jan 28, 2012, 7:52:32 AM (9 years ago)
Author:
jmr@…
Message:

unify py*-pip

Location:
trunk/dports/python
Files:
3 deleted
1 edited

Legend:

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

    r84550 r89397  
    33
    44PortSystem          1.0
    5 PortGroup           python24 1.0
     5PortGroup           python 1.0
    66
    77name                py-pip
     
    2424                    rmd160  2a398d35c63f62194528aa16ce989ce532f6b895
    2525
    26 depends_lib-append  port:py24-distribute
     26python.versions     24 25 26 27
    2727
    28 post-destroot {
    29     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    30     xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
    31         requirement-format.txt configuration.txt \
    32         ${destroot}${prefix}/share/doc/${name}
    33     delete ${destroot}${prefix}/bin/pip
     28if {$subport != $name} {
     29    depends_lib     port:py${python.version}-distribute
     30
     31    python.link_binaries_suffix
     32    post-destroot {
     33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
     34        xinstall -m 644 -W ${worksrcpath}/docs index.txt news.txt \
     35            requirement-format.txt configuration.txt \
     36            ${destroot}${prefix}/share/doc/${subport}
     37        delete ${destroot}${prefix}/bin/pip
     38    }
     39    livecheck.type      none
     40} else {
     41    livecheck.type      regex
     42    livecheck.url       http://pypi.python.org/pypi/pip
     43    livecheck.regex     pip (\[0-9\]+\.\[0-9.\]+)
    3444}
    35 
    36 livecheck.type      regex
    37 livecheck.url       http://pypi.python.org/pypi/pip
    38 livecheck.regex     pip (0\.\[0-9\]+\.\[0-9\]+)
Note: See TracChangeset for help on using the changeset viewer.