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

PortSystem          1.0
PortGroup           python 1.0

name                py-kapteyn
version             2.1
revision            1
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     268e6a15c5ec6bf47a4c5804994af146 \
                    sha1    c041f6858a1e712abd31480eb62100513007639c \
                    rmd160  7f058385439d52e484fbfab18ddbc31b22c45f12

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:py${python.version}-matplotlib
}