# $Id: Portfile 92958 2012-05-11 20:12:08Z mmoll@macports.org $

PortSystem 1.0
PortGroup python 1.0

set realname        suds
name                py-${realname}
version             0.4
revision            1
categories          python devel net
maintainers         mmoll openmaintainer
license             LGPL
supported_archs     noarch

description         Suds is a lightweight SOAP python client for consuming Web Services.
long_description    $description
homepage            https://fedorahosted.org/suds/
platforms           darwin
master_sites        https://fedorahosted.org/releases/s/u/suds/
checksums           md5     05523dfd3fc0de3f19dde4aca5dd17e9 \
                    sha1    47d943c3cd9432ac8ad237621803ba06ef5a3474 \
                    rmd160  6d7ed5c7a83680542509aa26cf5165673871db78
distname            python-${realname}-${version}

python.versions     25 26 27
python.default_version 27

if {$subport != $name} {
    depends_build-append port:py${python.version}-distribute
}

if {${name} == ${subport}} { 
    livecheck.type      regex
    livecheck.url       https://fedorahosted.org/suds/wiki/ReleaseHistory
    livecheck.regex     Release \\((\[0-9.\]+)\\)
} else {
    livecheck.type      none
}
