Changeset 91794


Ignore:
Timestamp:
Apr 10, 2012, 6:26:33 PM (5 years ago)
Author:
afb@…
Message:

zeroinstall-injector: add some python variants, default to python26 again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/zeroinstall-injector/Portfile

    r91756 r91794  
    55name            zeroinstall-injector
    66version         1.7
    7 revision        2
     7revision        3
    88platforms       darwin freebsd linux
    99categories      sysutils
     
    2626                rmd160 46ac65794f57146afed45582d4ff43f05ffe5bb9
    2727
    28 depends_lib     port:python27 bin:gpg:gnupg
    29 depends_run     port:py27-gtk bin:sudo:sudo
     28depends_lib     bin:gpg:gnupg
     29depends_run     bin:sudo:sudo
     30
     31set python.branch       2.x
     32set python.bin          ${prefix}/bin/python
     33
     34variant python26 conflicts python27 description "use python 2.6" {
     35depends_lib-append      port:python26
     36depends_run-append      port:py26-gtk
     37
     38set python.branch       2.6
     39set python.bin          ${prefix}/bin/python${python.branch}
     40}
     41
     42variant python27 conflicts python26 description "use python 2.7" {
     43depends_lib-append      port:python27
     44depends_run-append      port:py27-gtk
    3045
    3146set python.branch       2.7
    32 set python.bin  ${prefix}/bin/python${python.branch}
     47set python.bin          ${prefix}/bin/python${python.branch}
     48}
     49
     50if {![variant_isset python27]} {
     51        default_variants +python26
     52}
    3353
    3454post-patch   {
Note: See TracChangeset for help on using the changeset viewer.