# -*- 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 143184 2015-12-06 16:50:20Z aronnax@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-acor
version             1.1.1
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.
homepage            http://pypi.python.org/pypi/${python.rootname}/
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

platforms           darwin
license             MIT

checksums           md5     8681b949f50e0f9a02bfbd15f7a3d56c \
                    rmd160  d6e0c55e4db74b45e2ed632a0a553851ef6fe017 \
                    sha256  4c647d30326004cfcfbcf630e97586ce574954e36bebf75b657d33d5d79e94e3

python.versions     26 27 33 34

if {${name} eq ${subport}} {
    livecheck.type  pypi
} else {
    depends_build-append \
                    port:py${python.version}-setuptools

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

    livecheck.type  none
}
