# -*- 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-stomper
version             0.4.3
revision            0
platforms           {darwin any}
supported_archs     noarch
license             Apache-2
maintainers         nomaintainer

description         A transport neutral client implementation of the STOMP protocol
long_description    This is a python client implementation of the STOMP protocol. \
                    The client is attempting to be transport layer neutral. This \
                    module provides functions to create and parse STOMP messages \
                    in a programatic fashion. The messages can be easily \
                    generated and parsed, however its up to the user to do the \
                    sending and receiving.

homepage            https://github.com/oisinmulvihill/stomper
checksums           rmd160  9fb5fbb6c59ccb769e8d5bab8960b44e6bda09e8 \
                    sha256  3b4dbeadbb6d6cb958fe0c245779038ff0a08cd040971b69f770d779761661fa \
                    size    29260

python.versions     27

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

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

    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
            ${destroot}${docdir}
    }

    livecheck.type  none
}
