# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-soaplib
license             LGPL-2.1+
epoch               1
version             1.0.0
categories-append   www
platforms           {darwin any}
maintainers         nomaintainer
supported_archs     noarch

description         A simple library for writing soap web services.
long_description    This is a simple, easily extendible soap library that \
                    provides several useful tools for creating and \
                    publishing soap web services in python.  This package \
                    features on-demand WSDL generation for the published \
                    services, a WSGI-compliant web application, support for \
                    complex class structures, binary attachments, simple \
                    framework for creating additional serialization \
                    mechanisms and a client library.

homepage            https://github.com/soaplib/soaplib
checksums           md5 1bf01194b08b72c240380bd8f0919f57 \
                    sha1 d3993e81290bf58e21e67ad4fb849e0659712440 \
                    rmd160 e8fcd86554450f41bf279f88e11016baa4787d6d


python.versions     27

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

    post-destroot   {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 644 -W ${worksrcpath} \
            PKG-INFO \
            ${destroot}${docdir}
    }
}
