# -*- 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           deprecated 1.0

name                py-soappy
version             0.11.6
revision            2

categories-append   net
license             BSD ZPL-2
platforms           darwin
maintainers         nomaintainer

description         SOAP library for Python
long_description    The goal of the SOAPpy team is to provide a full-featured SOAP \
                    library for Python that is very simple to use and that fully \
                    supports dynamic interaction between clients and servers.

homepage            http://pywebsvcs.sourceforge.net/

master_sites        sourceforge:pywebsvcs
distname            SOAPpy-${version}

checksums           sha256  42c8cb3e42b439bc36b6ba3f090ddb72a214ca9264a2babf102c98731dea8e6a \
                    rmd160  ba0c90f0229aa077976face8d5e50147b034f30c \
                    size    159078

patchfiles          patch-remove-import-of-nested-scopes-from-future.diff

python.versions     27
deprecated.upstream_support no
livecheck.type      none

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

    post-destroot {
        xinstall -m 644 -W ${worksrcpath}/docs GettingStarted.txt attrs.txt \
            GlobusSupport.txt MethodParameterNaming.txt complexTypes.txt \
            simpleTypes.txt WSDL.txt ${destroot}${prefix}/share/doc/${subport}
    }
}
