# -*- 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-pyvttbl
version             0.5.2.2
revision            0
categories-append   devel
license             BSD
platforms           darwin
supported_archs     noarch

python.versions     27

maintainers         stromnov openmaintainer

description         Multidimensional pivot tables, data processing, statistical computation
long_description    ${description}

homepage            https://code.google.com/p/pyvttbl/
master_sites        pypi:p/pyvttbl/

distname            pyvttbl-${version}

checksums           rmd160  829647af0ab5665d3bc9f7e853948d35cb62b78e \
                    sha256  f7e9255ec9b3180eb5fa4c5c877ca9ae52e814a91a0acacb9f4b6ce94a9002b9

if {${name} ne ${subport}} {
    use_zip             yes
    depends_build       port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-scipy \
                        port:py${python.version}-matplotlib

    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       https://pypi.python.org/pypi/pyvttbl/json
    livecheck.regex     {pyvttbl-(\d+(?:\.\d+)*)\.[tz]}
}