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

python.versions     27 34 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         DataShape is a language for describing data.

long_description    DataShape is a language for describing data. It is an \
                    extension of the NumPy dtype with an emphasis on cross \
                    language support.

homepage            https://packages.python.org/datashape
master_sites        pypi:D/DataShape

distname            ${python.rootname}-${version}

checksums           rmd160  a97c609e449d1b2e1dc9684d52a1cb35402fe2aa \
                    sha256  2356ea690c3cf003c1468a243a9063144235de45b080b3652de4f3d44e57d783

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-multipledispatch \
                        port:py${python.version}-dateutil

    livecheck.type      none
} else {
    livecheck.name      DataShape
    livecheck.type      pypi
}