# -*- 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 91232 2012-03-26 15:08:04Z robitaille@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-yt
version             2.3
maintainers         robitaille openmaintainer

categories-append   science
description         Astrophysical simulation Analysis and Viz
long_description    The yt project aims to produce an integrated \
                    science environment for collaboratively asking and \
                    answering astrophysical questions. To do so, it \
                    will encompass the creation of initial conditions, \
                    the execution of simulations, and the detailed \
                    exploration and visualization of the resultant \
                    data. It will also provide a standard framework \
                    based on physical quantities interoperability \
                    between codes.

platforms           darwin
supported_archs     noarch

homepage            http://yt-project.org/
master_sites        http://pypi.python.org/packages/source/y/yt/
distname            yt-${version}
checksums           md5 a13bb47b2cd37d4fc12e4bdac6ff13f5 \
                    sha1 1a2f66459695f2105625f28c70c2562f0398f164 \
                    rmd160 26a91719bd2d53a1bd6a8c815847ce5b6cbfe6a3

python.versions     26 27
python.default_version 27

patchfiles          iyt.diff

if {${subport} != ${name}} {
    depends_run-append  port:py${python.version}-numpy \
                        port:py${python.version}-matplotlib \
                        port:py${python.version}-h5py \
                        port:py${python.version}-cython
}
