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 | | |