Ticket #46397: xorg-xcb-proto.python.patch

File xorg-xcb-proto.python.patch, 2.6 KB (added by larryv (Lawrence Velázquez), 10 years ago)
  • dports/x11/xorg-xcb-proto/Portfile

    diff --git a/dports/x11/xorg-xcb-proto/Portfile b/dports/x11/xorg-xcb-proto/Portfile
    index 9882e56..e9aa7cc 100644
    a b PortSystem 1.0 
    44
    55name            xorg-xcb-proto
    66version         1.11
     7revision        1
    78categories      x11 devel
    89license         X11
    910maintainers     jeremyhu openmaintainer
    use_bzip2 yes 
    2223
    2324depends_run     port:libxml2
    2425
    25 variant python25 conflicts python26 python27 python31 python32 python33 description {Use python 2.5} {
    26     depends_lib-append      port:python25
    27     configure.python        ${prefix}/bin/python2.5
    28 }
    29 
    30 variant python26 conflicts python25 python27 python31 python32 python33 description {Use python 2.6} {
    31     depends_lib-append      port:python26
    32     configure.python        ${prefix}/bin/python2.6
    33 }
     26# TODO: Remove after 2016-01-04.
     27variant python25 requires python27 description {Legacy variant} {}
     28variant python26 requires python27 description {Legacy variant} {}
     29variant python31 requires python34 description {Legacy variant} {}
     30variant python32 requires python34 description {Legacy variant} {}
     31variant python33 requires python34 description {Legacy variant} {}
    3432
    35 variant python27 conflicts python25 python26 python31 python32 python33 description {Use python 2.7} {
     33variant python27 conflicts python34 description {Use python 2.7} {
    3634    depends_lib-append      port:python27
    3735    configure.python        ${prefix}/bin/python2.7
    3836}
    3937
    40 variant python31 conflicts python25 python26 python27 python32 python33 description {Use python 3.1} {
    41     depends_lib-append      port:python31
    42     configure.python        ${prefix}/bin/python3.1
    43 }
    44 
    45 variant python32 conflicts python25 python26 python27 python31 python33 description {Use python 3.2} {
    46     depends_lib-append      port:python32
    47     configure.python        ${prefix}/bin/python3.2
    48 }
    49 
    50 variant python33 conflicts python25 python26 python27 python31 python32 description {Use python 3.3} {
    51     depends_lib-append      port:python33
    52     configure.python        ${prefix}/bin/python3.3
     38variant python34 conflicts python27 description {Use python 3.4} {
     39    depends_lib-append      port:python34
     40    configure.python        ${prefix}/bin/python3.4
    5341}
    5442
    55 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33]} {
     43if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33] && ![variant_isset python34]} {
    5644    default_variants +python27
    5745}
    5846