New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83061


Ignore:
Timestamp:
08/24/11 18:18:00 (4 years ago)
Author:
jmr@…
Message:

xorg-libxcb, xorg-xcb-proto: fix python31 and python32 variants (#26418)

Location:
trunk/dports/x11
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xorg-libxcb/Portfile

    r80493 r83061  
    2828                port:xorg-libpthread-stubs 
    2929 
     30if {[variant_isset python31] || [variant_isset python32]} { 
     31    patchfiles-append libxcb-python3.patch 
     32    post-patch { 
     33        system -W ${worksrcpath}/src "$2to3 -w *.py" 
     34    } 
     35} 
     36 
     37set 2to3 "" 
    3038variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} { 
    3139    depends_run-append      port:python25 
     
    4654    depends_run-append      port:python31 
    4755    configure.python        ${prefix}/bin/python3.1 
     56    set 2to3 "${prefix}/bin/2to3-3.1" 
    4857} 
    4958 
     
    5160    depends_run-append      port:python32 
    5261    configure.python        ${prefix}/bin/python3.2 
     62    set 2to3 "${prefix}/bin/2to3-3.2" 
    5363} 
    5464 
  • trunk/dports/x11/xorg-xcb-proto/Portfile

    r80497 r83061  
    2323depends_run     port:libxml2 
    2424 
     25if {[variant_isset python31] || [variant_isset python32]} { 
     26    patchfiles-append xcbproto-python3.patch 
     27    post-patch { 
     28        system -W ${worksrcpath}/xcbgen "$2to3 -w *.py" 
     29    } 
     30} 
     31 
     32set 2to3 "" 
    2533variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} { 
    2634    depends_run-append      port:python25 
     
    4149    depends_run-append      port:python31 
    4250    configure.python        ${prefix}/bin/python3.1 
     51    set 2to3 "${prefix}/bin/2to3-3.1" 
    4352} 
    4453 
     
    4655    depends_run-append      port:python32 
    4756    configure.python        ${prefix}/bin/python3.2 
     57    set 2to3 "${prefix}/bin/2to3-3.2" 
    4858} 
    4959 
Note: See TracChangeset for help on using the changeset viewer.