source: trunk/dports/python/py-pyface/Portfile

Last change on this file was 149275, checked in by khindenburg@…, 14 months ago

py-apptools: update to 4.4.0
py-envisage: update to 4.5.1
py-mayavi: update to 4.4.4
py-pyface: update to 5.1.0
py-traits:
py-traitsui: update to 5.1.0

Add python 3.5 for all; maintainer #51548

python 3.4 not added as vtk doesn't have +python34

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 149275 2016-06-09 00:53:19Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6PortGroup               python 1.0
7PortGroup               github 1.0
8PortGroup               wxWidgets 1.0
9
10github.setup            enthought pyface 5.1.0
11
12name                    py-pyface
13categories-append       devel
14license                 BSD
15maintainers             gmail.com:jjstickel openmaintainer
16supported_archs         noarch
17
18description             The Enthought pyface package
19long_description        The pyface project contains a toolkit-independent GUI\
20                        abstraction layer, which is used to support the\
21                        "visualization" features of the Traits package.
22platforms               darwin
23
24checksums               rmd160  b8f32c8c7606977fc2aa3c8201769048182ebcba \
25                        sha256  ba3af8605c4fcafdd0713955f7a752e6a6444cd7456a3604ede2e842768025de
26
27python.versions         27 35
28
29if {${name} ne ${subport}} {
30    depends_build-append    port:py${python.version}-setuptools
31    depends_lib-append      port:py${python.version}-traits
32
33    variant wxpython30 description "Use wxWidgets-3.0 backend" {
34        depends_lib-append  port:py${python.version}-wxpython-3.0
35        notes-append "Warning: wxpython-3.0 mostly works with Enthought packages, but qt4 is recommended.\n"
36    }
37
38    variant pyqt4 description "Qt backend using PyQt4" {
39        # Can use either py*-pyqt4 or py*-pyqt4-devel.
40        depends_lib-append  path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4
41    }
42
43    variant pyside description "Qt backend using PySide" {
44        depends_lib-append  port:py${python.version}-pyside
45    }
46
47    if {![variant_isset wxpython30] && ![variant_isset pyqt4] && ![variant_isset pyside]} {
48        default_variants    +pyqt4
49    }
50
51    notes-append "If multiple backends are installed, the toolkit backend may be set\
52 with environment variables ETS_TOOLKIT and QT_API, e.g., ETS_TOOLKIT=qt4, QT_API=pyqt.\n"
53}
Note: See TracBrowser for help on using the repository browser.