Ticket #33181: Portfile

File Portfile, 1.8 KB (added by petrus.hyvonen@…, 13 years ago)

Updated with selection variant pyqt4 or pyside

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 78682 2011-05-17 23:14:25Z macsforever2000@macports.org $
3
4PortSystem                  1.0
5PortGroup                   python 1.0
6
7name                    py-pyface
8version                 4.1.0
9categories-append       devel
10maintainers             vcn.com:jjstickel openmaintainer
11description             The Enthought pyface package
12long_description        The pyface project contains a toolkit-independent GUI\
13                        abstraction layer, which is used to support the\
14                        "visualization" features of the Traits package.
15platforms               darwin
16homepage                https://github.com/enthought/pyface
17master_sites            http://www.enthought.com/repo/ets/
18distname                pyface-${version}
19
20checksums           md5     a9bb01a9e6468374473a5bb608496621 \
21                    sha1    926c43e953d40d95a1e35a44889b81cec6ea9e6c \
22                    rmd160  8e73b2cedffadccc37437834ad2f3fa6089090cf
23
24python.versions        25 26 27
25python.default_version 27
26
27if {$subport != $name} {
28    depends_build-append    port:py${python.version}-distribute
29    depends_lib-append      port:py${python.version}-traits
30}
31
32variant wx description {Use wxWidgets backend} {
33    if {$subport != $name} {
34        depends_lib-append      port:py${python.version}-wxpython
35    }
36}
37
38variant pyqt4 conflicts pyside description "Qt backend using PyQt4" {
39    if {$subport != $name} {
40        depends_lib-append      port:py${python.version}-pyqt4
41    }
42}
43
44variant pyside conflicts pyqt4 description "Qt backend using PySide" {
45    if {$subport != $name} {
46        depends_lib-append      port:py${python.version}-pyside
47    }
48}
49
50default_variants-append +pyqt4