Ticket #39627: py-enable_Portfile.diff

File py-enable_Portfile.diff, 1.4 KB (added by jjstickel (Jonathan Stickel), 11 years ago)
  • Portfile

    old new  
    33
    44PortSystem          1.0
    55PortGroup           python 1.0
    6 PortGroup           wxWidgets 1.0
    76
    87PortGroup           github 1.0
    98github.setup        enthought enable 4.3.0
     
    3635                            port:swig-python
    3736    depends_lib-append      port:py${python.version}-traitsui\
    3837                            port:py${python.version}-reportlab
    39 
    40     # # wx-3.0 is not fully compatible with enthought modules, JJS 1/8/14
    41     # # * https://trac.macports.org/ticket/42075
    42     # # * https://trac.macports.org/ticket/40333
    43     # variant wxwidgets description {Use wxWidgets backend} {
    44     #     depends_lib-append      port:py${python.version}-wxpython-3.0
    45     # }
    46 
    47     variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
    48         # Can use either py*-pyqt4 or py*-pyqt4-devel.
    49         depends_lib-append  path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
    50     }
    51 
    52     variant pyside conflicts pyqt4 description "Qt backend using PySide" {
    53         depends_lib-append  port:py${python.version}-pyside
    54     }
    55 
    56     if {![variant_isset pyqt4] && ![variant_isset pyside]} {
    57         default_variants +pyqt4
    58     }
    59 
    60     notes "If wxpython is installed, enthought modules will try to use it\
    61  even if pyqt4 (or pyside) are also installed"
    62 
    6338}
    6439
    6540# haven't retested if this is still true for version >= 4.0; commenting out but