| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python 1.0 |
|---|
| 6 | |
|---|
| 7 | name py-pyface |
|---|
| 8 | version 4.1.0 |
|---|
| 9 | categories-append devel |
|---|
| 10 | maintainers vcn.com:jjstickel openmaintainer |
|---|
| 11 | description The Enthought pyface package |
|---|
| 12 | long_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. |
|---|
| 15 | platforms darwin |
|---|
| 16 | homepage https://github.com/enthought/pyface |
|---|
| 17 | master_sites http://www.enthought.com/repo/ets/ |
|---|
| 18 | distname pyface-${version} |
|---|
| 19 | |
|---|
| 20 | checksums md5 a9bb01a9e6468374473a5bb608496621 \ |
|---|
| 21 | sha1 926c43e953d40d95a1e35a44889b81cec6ea9e6c \ |
|---|
| 22 | rmd160 8e73b2cedffadccc37437834ad2f3fa6089090cf |
|---|
| 23 | |
|---|
| 24 | python.versions 25 26 27 |
|---|
| 25 | python.default_version 27 |
|---|
| 26 | |
|---|
| 27 | if {$subport != $name} { |
|---|
| 28 | depends_build-append port:py${python.version}-distribute |
|---|
| 29 | depends_lib-append port:py${python.version}-traits |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | variant wx description {Use wxWidgets backend} { |
|---|
| 33 | if {$subport != $name} { |
|---|
| 34 | depends_lib-append port:py${python.version}-wxpython |
|---|
| 35 | } |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | variant qt4 description {Use Qt4 backend} { |
|---|
| 39 | if {$subport != $name} { |
|---|
| 40 | depends_lib-append port:py${python.version}-pyqt4 |
|---|
| 41 | } |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | default_variants-append +qt4 |
|---|