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

PortSystem          1.0
PortGroup           python 1.0

name                py-scikits-timeseries
version             0.91.3
maintainers         nomaintainer

categories-append   science
# GPLConflict because eGenix.com Public License Agreement has a choice of law clause
license             BSD Permissive GPLConflict
description         Classes and functions for manipulating, reporting, and plotting time series
long_description    ${description} \
                    The focus is on convenient data access and manipulation while leveraging \
                    the existing mathematical functionality in numpy and scipy

platforms           darwin

homepage            https://pytseries.sourceforge.net/
master_sites        sourceforge:pytseries
distname            scikits.timeseries-${version}

checksums           rmd160  24d2b6c1024265a59669aa99fd536b0334f60646 \
                    sha256  2c4f74f1151763c231df713e9f990d0f7961cae0be59e31d3bb41781eadca6c0 \
                    size    323771

python.versions     27

if {${subport} ne ${name}} {
    depends_build-append    port:py${python.version}-setuptools

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

    post-destroot {
        # scikits/__init__.py is provided by scikits-module
        file delete ${destroot}${python.pkgd}/scikits/__init__.py
    }
} else {
    livecheck.distname      scikits.timeseries
}