# -*- 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 92894 2012-05-10 13:37:34Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-kombu
version             2.1.8
revision            0
categories-append   devel
license             BSD
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         AMQP Messaging Framework for Python.
long_description    ${description}

homepage            http://ask.github.com/kombu/
master_sites        http://pypi.python.org/packages/source/k/kombu/
distname            kombu-${version}

checksums           rmd160  4cd71705f8136fd0db5b27bba0dc84b42af371eb \
                    sha256  6012931f1a5724b52b0e535d462f81c47c2d152b5dae5fa43843d306dbcf3dc8

python.versions     25 26 27
python.default_version  27

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

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