# -*- 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 108287 2013-07-17 22:48:02Z aronnax@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        dfm emcee 1.2.0 v

name                py-${name}
maintainers         aronnax openmaintainer

categories-append   science math
description         affine-invariant ensemble MCMC sampling
long_description    emcee is a stable, well tested Python implementation of \
                    the affine-invariant ensemble sampler for Markov chain \
                    Monte Carlo (MCMC) proposed by Goodman & Weare (2010). The \
                    code is open source and has already been used in several \
                    published projects in the Astrophysics literature.

platforms           darwin
supported_archs     noarch
license             GPL-2

homepage            http://dan.iel.fm/emcee/

checksums           rmd160  8398b73273cc20dc24ccb15621e55165b52347f2 \
                    sha256  cfe75d2a82fe664981db331f0367ce60f1a33eed2bfdd5e8dbf98054d6e6fcf0

python.versions     27 32 33

if {$subport != $name} {

    depends_build-append \
                    port:py${python.version}-setuptools

    depends_lib-append \
                    port:py${python.version}-acor \
                    port:py${python.version}-numpy

    livecheck.type  none

}
