# -*- 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 88422 2012-01-02 01:18:04Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pika
version             0.9.5
revision            1
categories-append   devel
license             MPL
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         Pure-Python implementation of the AMQP 0-9-1 protocol.
long_description    ${description}

homepage            http://pypi.python.org/pypi/pika/
master_sites        http://pypi.python.org/packages/source/p/pika/
distname            pika-${version}

checksums           md5     38527f6977bf0a0b204710b93b0c6417 \
                    sha1    87a07cfc954767e6a8492293a6f136d67c71df8b \
                    rmd160  5e9cb81ea8c9e99ad153f767408470d5bcb0b0d8

python.versions     24 25 26 27

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

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