# -*- 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 83385 2011-08-31 01:52:26Z dports@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-mygpoclient
version             1.5
python.versions     25 26 27
python.default_version 27
categories-append   net
license             GPL-3
platforms           darwin
maintainers         elelay
description         "python module for interacting with my.gpodder.org web services"
long_description    \
The mygpoclient library allows developers to utilize \
a Pythonic  interface to the my.gpodder.org web services. \
It's mostly useful for the gpodder podcast client.
                    

homepage            http://thpinfo.com/2010/mygpoclient/
master_sites        ${homepage}
distname            mygpoclient-${version}

checksums           md5     15c038f504a855eef4c431257838300d \
                    sha1    e62c752022bbf9fbd3b6c01df85cd076cbc532bf \
                    rmd160  dff7d522e0ac40445c5633c7860ca1c9c21da660

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

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     "<a href=\"mygpoclient-(\\d+\\.\\d+)"
