# -*- 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        petrrr registry  096106ae20

name                py-dispel4py-registry-devel
version             0.0.1-3-${github.version}
categories-append   science net
platforms           darwin
license             Apache-2

maintainers         {petr @petrrr} openmaintainer

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

long_description    ${description}

checksums           rmd160  89f5c593eca6a76bd5c2c2d27ce80b19f5fd7c6e \
                    sha256  5709dd538306bb26c58c6bd6f69dff8e2d7c2b1dd3e4ab8986004b5c96255e53

python.versions     27

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

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

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