# -*- 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 $

PortSystem          1.0
PortGroup           python 1.0
name                py-sunpy
version             0.1
revision            1
maintainers         robitaille

categories-append   science
description         A Community Python Library for Solar Physics
long_description    The SunPy project is an effort to create an open-source \
                    software library for solar physics using the Python \
                    programming language.

platforms           darwin
license             BSD

homepage            http://www.sunpy.org
master_sites        http://pypi.python.org/packages/source/s/sunpy/
distname            sunpy-${version}
checksums           md5     e0506b27c16b642e4f9c50c54ad0b3f2 \
                    sha1    38cc3b2612aa94667b5483129497822fa0985019 \
                    rmd160  132f8364811755cd29d4c67e2f7b8f917f1b2003

python.versions     26 27
python.default_version 27

if {$subport != $name} {

    depends_build-append  port:py${python.version}-numpy \
                          port:py${python.version}-scipy \
                          port:py${python.version}-matplotlib \
                          port:py${python.version}-pyfits \
                          port:py${python.version}-pyqt4 \
                          port:py${python.version}-suds \
                          port:py${python.version}-pandas \
                          port:py${python.version}-beautifulsoup4 \
                          port:py${python.version}-configobj \
                          port:py${python.version}-setuptools \
                          port:py${python.version}-py

}
