# -*- 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 79193 2011-06-04 20:16:29Z robitaille@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name                py26-atpy
version             0.9.5.1
revision            1
maintainers         robitaille

categories-append   science
description         ATpy: Astronomical Tables in Python
long_description    ATpy is a Python module aimed at seamlessly reading, \
                    creating, manipulating, and writing tables of astronomical \
                    data. To date, the following formats are supported: ASCII, \
                    FITS, VO, HDF5, and IPAC tables, and SQLite, MySQL, and \
                    PostgreSQL databases.

platforms           darwin
license             MIT

homepage            http://atpy.github.com/
master_sites        http://cloud.github.com/downloads/atpy/atpy/
distname            ATpy-${version}
checksums           md5  346de60a2f92af244819bd76676471ee \
                    sha1  f12afe0dc987886d5928aaee6f3662896c33e36a \
                    rmd160  435d5dc7e5bd38bf2303d3dfa808be149e0a6f5f

depends_run-append  port:py26-numpy

variant fits description {Include support for FITS tables} {
    depends_run-append  port:py26-pyfits
}

variant hdf5 description {Include support for HDF5 tables} {
    depends_run-append  port:py26-h5py
}

variant vo description {Include support for VO tables} {
    depends_run-append  port:py26-vo
}

variant ascii description {Include support for ASCII tables} {
    depends_run-append  port:py26-asciitable
}

variant sql description {Include support for SQL databases} {
    depends_run-append  port:py26-mysql \
                        port:py26-pygresql
}

variant all requires fits hdf5 vo ascii sql description {Include support for all input/output types (FITS, HDF5, VO, ASCII, and SQL)} {}

default_variants    +fits +hdf5 +vo +ascii
