# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-mygpoclient
version             1.7
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     fc4e237c40eba0733a362949d304974c \
                    sha1    9efb1d07b75b13bfa1ea7c644505ebef14fabb26 \
                    rmd160  7fcf20700849ea05977abe0d234b9c8681a43174

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

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