# -*- 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
PortGroup           github 1.0

github.setup        akrause2014 dispel4py  3b4c31d34a

name                py-${github.project}-devel
version             0.0.1-8-${github.version}
categories-append   parallel science
platforms           darwin
supported_archs     noarch
license             Apache-3

maintainers         {petr @petrrr} openmaintainer

description         A library to describe data workflows for distributed \
                    applications (development snapshot)

long_description    ${description}

checksums           rmd160  c99f2df052d56de7fcb4e4ff15f62660c7b2e322 \
                    sha256  53b9d1cdde0db7f30dd4fb831efa2e3f57940bfb62c83e33e8517fe0b74f9d2f

python.versions     27

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

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

    # Adding documentation
    post-destroot {
        set dest_doc ${destroot}${prefix}/share/doc/${subport}
        xinstall -d  ${dest_doc}
        xinstall -m 755 -W ${worksrcpath} \
            README.md \
            LICENSE \
                ${dest_doc}

        # no examples yet
        #delete ${dest_doc}/examples
        #copy ${worksrcpath}/examples ${dest_doc}/examples
    }
    livecheck.type  none
}