# -*- 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 106911 2013-06-11 14:40:14Z jmr@macports.org $

PortSystem	        1.0
PortGroup	        python 1.0

name                py-traitsui
version             4.2.0
categories-append   devel
# traitsui/wx/editors_gen.py is GPLv2
license             BSD GPL-2
maintainers         gmail.com:jjstickel openmaintainer
description         The Enthought traitsui package
long_description    The traitsui project contains a toolkit-independent GUI\
                    abstraction layer, which is used to support the\
                    "visualization" features of the Traits package.
platforms           darwin
homepage            https://github.com/enthought/traitsui
master_sites        http://www.enthought.com/repo/ets/
distname            traitsui-${version}

checksums           rmd160  0dc23634701aa3814916e885cd9795725a854fdf \
                    sha256  029da46eff8e79d9123b1553bb0f4749bedfe691f1aa90465d84e167687e4ee7

python.versions     25 26 27

if {$subport != $name} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-pyface
}
