# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 PortGroup wxWidgets 1.0 github.setup enthought pyface 5.1.0 name py-pyface categories-append devel license BSD maintainers gmail.com:jjstickel openmaintainer supported_archs noarch description The Enthought pyface package long_description The pyface project contains a toolkit-independent GUI\ abstraction layer, which is used to support the\ "visualization" features of the Traits package. platforms darwin checksums rmd160 b8f32c8c7606977fc2aa3c8201769048182ebcba \ sha256 ba3af8605c4fcafdd0713955f7a752e6a6444cd7456a3604ede2e842768025de python.versions 27 35 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools depends_lib-append port:py${python.version}-traits variant wxpython30 description "Use wxWidgets-3.0 backend" { depends_lib-append port:py${python.version}-wxpython-3.0 notes-append "Warning: wxpython-3.0 mostly works with Enthought packages, but qt4 is recommended.\n" } variant pyqt4 description "Qt backend using PyQt4" { # Can use either py*-pyqt4 or py*-pyqt4-devel. depends_lib-append path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 } variant pyside description "Qt backend using PySide" { depends_lib-append port:py${python.version}-pyside } if {![variant_isset wxpython30] && ![variant_isset pyqt4] && ![variant_isset pyside]} { default_variants +pyqt4 } notes-append "If multiple backends are installed, the toolkit backend may be set\ with environment variables ETS_TOOLKIT and QT_API, e.g., ETS_TOOLKIT=qt4, QT_API=pyqt.\n" }