Changeset 126327 for trunk/dports/office


Ignore:
Timestamp:
Oct 7, 2014, 11:23:08 PM (5 years ago)
Author:
jmr@…
Message:

gcalcli: use unified python portgroup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/office/gcalcli/Portfile

    r106091 r126327  
    33
    44PortSystem          1.0
    5 PortGroup           python27 1.0
     5PortGroup           python 1.0
    66PortGroup           github 1.0
    77
     
    2323checksums           rmd160  91b60951b2764c3ad00987b992e0375781c4c9a1 \
    2424                    sha256  f20237400567383a614424485998d7f315f9ff819c84fab5d7d97f5f22daf00e
    25                    
    26 depends_lib         port:py27-dateutil \
    27                     port:py27-gdata \
    28                     port:py27-vobject
     25
     26python.default_version  27
     27
     28depends_lib         port:py${python.version}-dateutil \
     29                    port:py${python.version}-gdata \
     30                    port:py${python.version}-vobject
    2931
    3032post-patch {
    31     reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.7|" ${worksrcpath}/gcalcli
     33    reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python${python.branch}|" ${worksrcpath}/gcalcli
    3234}
    3335
Note: See TracChangeset for help on using the changeset viewer.