Ticket #41927: wxPython-3.0.0.0.diff

File wxPython-3.0.0.0.diff, 6.0 KB (added by mojca (Mojca Miklavec), 11 years ago)

A patch to upgrade wxPython-3.0 to preliminary release of version 3.0.0.0

  • _resources/port1.0/group/wxWidgets-1.0.tcl

     
    101101        }
    102102    } elseif {${args} eq "wxPython-3.0"} {
    103103        wxWidgets.name      "wxPython"
    104         wxWidgets.version   "2.9"
     104        wxWidgets.version   "3.0"
    105105        wxWidgets.port      "wxPython-3.0"
    106106        if {${os.major} < 9} {
    107107            pre-fetch {
  • graphics/wxWidgets-3.0/Portfile

     
    1010subport             wxPython-3.0 {}
    1111subport             wxgtk-3.0 {}
    1212version             3.0.0
     13set wxpython_ver    3.0.0.0
    1314revision            5
    1415
    1516set installname     wxWidgets
     
    1920    wxWidgets.use   wxWidgets-3.0
    2021} elseif {${subport} eq "wxPython-3.0"} {
    2122    wxWidgets.use   wxPython-3.0
    22     version         2.9.5
    23     revision        2
     23    revision        0
    2424} elseif {${subport} eq "wxgtk-3.0"} {
    2525    # with satisfactory Cocoa support there is no real need for GTK-based wxWidgets any more
    2626    # wxgtk-3.0 is here mainly for testing purposes
     
    106106                    --with-macosx-version-min=no
    107107
    108108if {${subport} eq "wxPython-3.0"} {
    109     set wxpythonsubset      wxPython-2.9.5.0-MacPorts-subset
     109    set wxpythonsubset      wxPython-${wxpython_ver}-MacPorts-subset
    110110    distfiles-append        ${wxpythonsubset}${extract.suffix}:trac
    111111
    112112    description             wxWidgets ${branch} for the wxPython distribution
     
    114114                            to guarantee compatibility even when the upstream versions \
    115115                            of wxWidgets and wxPython differ.
    116116
    117     checksums               ${distname}-${version}${extract.suffix} \
    118                             rmd160  f5c91099b2cf3e39eadbcf99df0dd9a97017d47f \
    119                             sha256  b74ba96ca537cc5d049d21ec9ab5eb2670406a4aa9f1ea4845ea84a9955a6e02 \
    120                             ${wxpythonsubset}${extract.suffix} \
    121                             rmd160  936858d5856adde043d107164b1b53d3209eb76d \
    122                             sha256  c892f257b151726a70886c7cffda51554b48b8e9cc7cfcc962d6988c5fe81856
     117    checksums-append        ${wxpythonsubset}${extract.suffix} \
     118                            rmd160  23a8c977fcc2ebe74d9adc178e243320492a7650 \
     119                            sha256  f96bbf9095d30c9cdbe84f7694181a91a92fd0f4a0e87c4f1fa6b6a6d4e7a6ed
    123120
    124     patchfiles-delete       patch-configure.diff
    125     patchfiles-append       patch-configure295.diff \
    126                             patch-upstream-src-osx-cocoa-textctrl.mm.diff \
    127                             patch-upstream-src-osx-cocoa-window.mm.diff
    128     if {${os.major} >= 10} {
    129         patchfiles-delete   patch-src-osx-cocoa-utils.mm.diff
    130     }
    131 
    132121    post-destroot {
    133122        # copy a subset of wxPython to wxWidgets to prevent a conflict
    134123        # between py2X-wxpython-3.0 and py2Y-wxpython-3.0
  • graphics/wxWidgets-3.0/files/wxPython-3.0

     
    1 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/bin/wx-config
    2 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/bin/wxrc-2.9
    3 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/aclocal/wxwin.m4
    4 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/bakefile/presets/wx.bkl
    5 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/bakefile/presets/wx_presets.py
    6 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/bakefile/presets/wx_unix.bkl
    7 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/bakefile/presets/wx_win32.bkl
    8 ${frameworks_dir}/wxWidgets.framework/Versions/wxPython/2.9/share/bakefile/presets/wx_xrc.bkl
     1${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/bin/wx-config
     2${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/bin/wxrc-3.0
     3${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/aclocal/wxwin.m4
     4${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx.bkl
     5${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_presets.py
     6${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_unix.bkl
     7${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_win32.bkl
     8${frameworks_dir}/wxWidgets.framework/Versions/wxPython/3.0/share/bakefile/presets/wx_xrc.bkl
  • python/py-wxpython-3.0/Portfile

     
    66PortGroup           wxWidgets   1.0
    77
    88name                py-wxpython-3.0
    9 version             2.9.5.0
     9version             3.0.0.0.b20131219
    1010set wx_version      [join [lrange [split ${version} .] 0 2] .]
    1111set branch          [join [lrange [split ${version} .] 0 1] .]
    1212categories-append   graphics devel
     
    2323                    the wxWidgets cross platform GUI library, written in C++.
    2424
    2525homepage            http://www.wxpython.org/
    26 master_sites        sourceforge:wxpython
     26master_sites        sourceforge:wxpython \
     27                    http://wxpython.kosoftworks.com/preview/20131219/
    2728
    2829distname            wxPython
    2930use_bzip2           yes
    3031
    31 checksums           rmd160  4d54edc5437fbe14e552bfc6feeeb4fb74d10cd0 \
    32                     sha256  1a5b7e771eff467538d0834136188e8a7506a4fe6e85d0a46c40158cdbd4c48c
     32checksums           rmd160  b167e2c22cfc377e1f448e97b390aea593338e47 \
     33                    sha256  3b960f5c4d00441f88ec28a4380ce69a82a5d55308a3fda38e8ee000a0b6b896
    3334
    3435python.versions     27
    3536python.default_version 27