Revision: 81320 http://trac.macports.org/changeset/81320 Author: stromnov@macports.org Date: 2011-07-29 03:35:58 -0700 (Fri, 29 Jul 2011) Log Message: ----------- unify py*-pika Added Paths: ----------- trunk/dports/python/py-pika/ trunk/dports/python/py-pika/Portfile Removed Paths: ------------- trunk/dports/python/py26-pika/ trunk/dports/python/py27-pika/ Added: trunk/dports/python/py-pika/Portfile =================================================================== --- trunk/dports/python/py-pika/Portfile (rev 0) +++ trunk/dports/python/py-pika/Portfile 2011-07-29 10:35:58 UTC (rev 81320) @@ -0,0 +1,38 @@ +# -*- 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 77158 2011-03-21 14:24:14Z stromnov@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 == "py24-pika"} { + depends_lib port:py-setuptools +} elseif {$subport != $name} { + depends_lib port:py${python.version}-distribute +} + +livecheck.type regex +livecheck.url ${master_sites} +livecheck.regex "pika-v?(\\d+(?:\\.\\d+)*)${extract.suffix}"