# -*- 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
# $Id: Portfile 107398 2013-06-27 04:12:44Z jmr@macports.org $

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
maintainers         lightnin openmaintainer
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            http://wiki.github.com/soaplib/soaplib/
master_sites        http://pypi.python.org/packages/source/s/soaplib/
distname            soaplib-${version}
checksums           md5 1bf01194b08b72c240380bd8f0919f57 \
                    sha1 d3993e81290bf58e21e67ad4fb849e0659712440 \
                    rmd160 e8fcd86554450f41bf279f88e11016baa4787d6d


python.versions     24 25 26 27
python.default_version 27

if {${subport} != ${name}} {
    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}
    }
}
