New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82233


Ignore:
Timestamp:
08/10/11 17:49:58 (4 years ago)
Author:
jmr@…
Message:

py-bdist_mpkg: add version suffix to binary with 2.4 and 2.5

File:
1 edited

Legend:

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

    r82062 r82233  
    3131python.versions     24 25 26 27 
    3232 
    33 if {$subport == "py24-bdist_mpkg"} { 
    34     depends_lib     port:py-setuptools 
    35 } elseif {$subport != $name} { 
    36     depends_lib     port:py${python.version}-distribute 
     33if {$subport != $name} { 
     34    if {${python.version} == "24"} { 
     35        depends_lib     port:py-setuptools 
     36    } else { 
     37        depends_lib     port:py${python.version}-distribute 
     38    } 
     39    if {${python.version} == "24" || ${python.version} == "25"} { 
     40        post-destroot { 
     41            move ${destroot}${prefix}/bin/bdist_mpkg \ 
     42                 ${destroot}${prefix}/bin/bdist_mpkg-${python.branch} 
     43        } 
     44    } 
    3745} 
    3846 
Note: See TracChangeset for help on using the changeset viewer.