# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-kapteyn
version             2.2
revision            0
maintainers         robitaille openmaintainer

categories-append   science
description         The Kapteyn Package
long_description    The Kapteyn Package is a collection of Python modules and \
                    applications developed by the computer group of the \
                    Kapteyn Astronomical Institute, University of Groningen, \
                    The Netherlands. The purpose of the package is to provide \
                    tools for the development of astronomical applications \
                    with Python.

platforms           darwin
license             BSD

homepage            http://www.astro.rug.nl/software/kapteyn/
master_sites        http://www.astro.rug.nl/software/kapteyn/
distname            kapteyn-${version}
checksums           md5     e4af15aa7aa3b77f602589052c073db9 \
                    sha1    57349be5ecad4100f8b69d35e0d2a119413dd498 \
                    rmd160  2f603293334b31d6904b8bce78b123885fe97c6a

python.versions     26 27

if {${name} ne ${subport}} {
    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-pyfits \
                        port:py${python.version}-matplotlib
}
