# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup       python 1.0

name            py-soappy
version         0.11.6
revision        2
categories-append   net
license         BSD ZPL-2
platforms       darwin
maintainers     blair openmaintainer
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       sha1 59c91688f23de3b738bf504351bca89aab5cc203 \
                sha256 42c8cb3e42b439bc36b6ba3f090ddb72a214ca9264a2babf102c98731dea8e6a

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

python.versions 24 25 26 27

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