Ticket #46397: xorg-libxcb.python.patch

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

    diff --git a/dports/x11/xorg-libxcb/Portfile b/dports/x11/xorg-libxcb/Portfile
    index ce017b2..e7aadba 100644
    a b PortSystem 1.0 
    44
    55name            xorg-libxcb
    66version         1.11
     7revision        1
    78categories      x11 devel
    89license         X11
    910maintainers     jeremyhu openmaintainer
    variant docs description "Install extra documentation" { 
    4748        DOXYGEN="${prefix}/bin/doxygen"
    4849}
    4950
    50 variant python25 conflicts python26 python27 python31 python32 python33 description {Use python 2.5} {
    51     depends_run-append      port:python25
    52     configure.python        ${prefix}/bin/python2.5
    53 }
    54 
    55 variant python26 conflicts python25 python27 python31 python32 python33 description {Use python 2.6} {
    56     depends_run-append      port:python26
    57     configure.python        ${prefix}/bin/python2.6
    58 }
     51# TODO: Remove after 2016-01-04.
     52variant python25 requires python27 description {Legacy variant} {}
     53variant python26 requires python27 description {Legacy variant} {}
     54variant python31 requires python34 description {Legacy variant} {}
     55variant python32 requires python34 description {Legacy variant} {}
     56variant python33 requires python34 description {Legacy variant} {}
    5957
    60 variant python27 conflicts python25 python26 python31 python32 python33 description {Use python 2.7} {
     58variant python27 conflicts python34 description {Use python 2.7} {
    6159    depends_run-append      port:python27
    6260    configure.python        ${prefix}/bin/python2.7
    6361}
    6462
    65 variant python31 conflicts python25 python26 python27 python32 python33 description {Use python 3.1} {
    66     depends_run-append      port:python31
    67     configure.python        ${prefix}/bin/python3.1
    68 }
    69 
    70 variant python32 conflicts python25 python26 python27 python31 python33 description {Use python 3.2} {
    71     depends_run-append      port:python32
    72     configure.python        ${prefix}/bin/python3.2
    73 }
    74 
    75 variant python33 conflicts python25 python26 python27 python31 python32 description {Use python 3.3} {
    76     depends_run-append      port:python33
    77     configure.python        ${prefix}/bin/python3.3
     63variant python34 conflicts python27 description {Use python 3.4} {
     64    depends_run-append      port:python34
     65    configure.python        ${prefix}/bin/python3.4
    7866}
    7967
    80 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33]} {
     68if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33] && ![variant_isset python34]} {
    8169    default_variants +python27
    8270}
    8371