# -*- 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 108286 2013-07-17 22:47:29Z aronnax@macports.org $

PortSystem          1.0
PortGroup           github 1.0
PortGroup           python 1.0

github.setup        dfm acor 1.0.2 v

name                py-${name}
maintainers         aronnax openmaintainer

categories-append   science math
description         estimate the autocorrelation time of time-series data quickly
long_description    This is a direct port of a C++ routine by Jonathan Goodman \
                    (NYU) called ACOR that estimates the autocorrelation time \
                    of time series data very quickly.

platforms           darwin
license             GPL-2

checksums           rmd160  e192dcb7f76bf5f0a5776235d604ba805405ea0c \
                    sha256  9388d1fa602e712d3522e88219e489469ce11592b1706b1268536b5c2fe8dc36

python.versions     27 32 33

compiler.blacklist  clang

if {$subport != $name} {

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

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

    livecheck.type  none

}
