# -*- 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-chaco
version             4.2.0
categories-append   devel
license             BSD PSF
maintainers         gmail.com:jjstickel openmaintainer
platforms           darwin
description         The Enthought chaco package for 2-D plotting
long_description    Chaco is a Python plotting application toolkit that\
                    facilitates writing plotting applications at all levels\
                    of complexity, from simple scripts with hard-coded data to\
                    large plotting programs with complex data\
                    interrelationships and a multitude of interactive\
                    tools. While Chaco generates attractive static plots for\
                    publication and presentation, it also works well\
                    interactive data visualization and exploration.
homepage            https://github.com/enthought/chaco
master_sites        http://www.enthought.com/repo/ets/
distname            chaco-${version}

checksums           rmd160  c2e9a4f35c5d8ad0eacaedae87dc2e3672b4c18c \
                    sha256  f2021f4d9b788effa4915114e28d4e2fed597b7c0f6254d44b41c6178e63542f

python.versions     25 26 27

if {$subport != $name} {
    depends_build-append    port:py${python.version}-setuptools
    depends_lib-append      port:py${python.version}-enable \
                            port:py${python.version}-numpy
    
    patchfiles              pyqt4_qsize.patch
    patch.pre_args          -p1
}
