# -*- 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: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup	        python 1.0

name                py-traitsgui
version             3.6.0
revision            1
categories-append   devel
maintainers         nomaintainer
description         The Enthought traitsgui package
long_description    The TraitsGUI project contains a\
    toolkit-independent GUI abstraction layer (known as Pyface),\
    which is used to support the "visualization" features of the Traits package.
platforms           darwin
homepage            http://code.enthought.com/projects/traits_gui/
distfiles

python.versions     26 27

if {${name} ne ${subport}} {
    replaced_by             py${python.version}-traitsui
} else {
    replaced_by             py-traitsui
}

pre-configure {
    ui_error "Please do not install this port since it has been replaced by py-traitsui."
    return -code error
}
