# -*- 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 89543 2012-02-01 21:35:56Z robitaille@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-asciitable
version             0.8.0
maintainers         robitaille stsci.edu:mperrin

categories-append   science
description         An extensible ASCII table reader and writer
long_description    ${description}

platforms           darwin

homepage            http://cxc.harvard.edu/contrib/asciitable/
master_sites        http://pypi.python.org/packages/source/a/asciitable/
distname            asciitable-${version}
checksums           md5     913dac05fbf69ae76504f955b77659e5 \
                    sha1    b10ec19b930e7cd758ac4748c50c25f1285f256a \
                    rmd160  3423ebb18d24bee4073209a6e073feeb99982f61

python.versions     25 26 27 31 32
python.default_version 27

if {$subport != $name} {
    depends_run-append  port:py${python.version}-numpy
}