# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-stomper
version           0.2.7
platforms         darwin
supported_archs   noarch
license           Apache-2
maintainers       nomaintainer

description       A transport neutral client implementation of the STOMP protocol
long_description  This is a python client implementation of the STOMP protocol. \
                  The client is attempting to be transport layer neutral. This \
                  module provides functions to create and parse STOMP messages \
                  in a programatic fashion. The messages can be easily \
                  generated and parsed, however its up to the user to do the \
                  sending and receiving.

homepage          https://github.com/oisinmulvihill/stomper
master_sites      https://pypi.python.org/packages/source/s/stomper/
distname          stomper-${version}
checksums         md5    b721d7557af2fc6a47e82ef4a40e87bf \
                  rmd160 679ff1721bf364a62d63c2e2eab1a118a8861a1d \
                  sha256 8978fd3421390abe3c1a8c8adc72346f4a8175b6fb154011fc8d37bb916e01ce

python.versions   25 26 27

if {${name} ne ${subport}} {
    depends_build     port:py${python.version}-setuptools
    livecheck.type    none
} else {
    livecheck.type    regex
    livecheck.url     https://pypi.python.org/pypi/stomper/
    livecheck.regex   {stomper (\d+(?:\.\d+)*)}
}
