# -*- 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 89546 2012-02-01 21:37:40Z robitaille@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-montage
version             0.9.3
revision            1
maintainers         robitaille

categories-append   science
description         Montage python wrapper
long_description    Python-montage is a pure python module that provides a \
                    Python API to the Montage Astronomical Image Mosaic \
                    Engine, including both functions to access individual \
                    Montage commands, and high-level functions to facilitate \
                    mosaicking and re-projecting.

platforms           darwin
license             MIT

homepage            http://astrofrog.github.com/python-montage/
master_sites        http://cloud.github.com/downloads/astrofrog/python-montage/
distname            python-montage-${version}
checksums           md5     ffd96725c412286db010fbe06f6246f6 \
                    sha1    ed4ace6824636b635ccb8410737d33a6c3a2c56c \
                    rmd160  0eb8f838332c97d27029d48e4ecef24761eff09b

python.versions     25 26 27
python.default_version 27

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