# -*- 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
# $Id: Portfile 92898 2012-05-10 13:59:28Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-colander
version             0.9.8
revision            0
categories-append   devel
license             BSD
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         System for validating and deserializing data.
long_description    ${description}

homepage            http://docs.repoze.org/colander
master_sites        http://pypi.python.org/packages/source/c/colander/

distname            colander-${version}

checksums           rmd160  208cab9c04fe2c8d5990cfdf2088a6b8c8efc799 \
                    sha256  cab9bb0180a68ceffa1273d2ae98864989a0e00611c24371a5ffac8ea8a0e5ec

python.default_version  27
python.versions     26 27

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

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "colander-(\\d+(?:\\.\\d+)*)${extract.suffix}"
