# $Id$

PortSystem      1.0
PortGroup       python 1.0

name            py-pynzb
version         0.1.0
revision        1
license         BSD
maintainers     nomaintainer
platforms       darwin
supported_archs noarch

description     Text progressbar library for python

long_description \
    This library provides a text mode progressbar. This is typically used to \
    display the progress of a long running operation, providing a visual clue \
    that processing is underway.

categories-append \
    devel

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

checksums       md5     63c74a36348ac28aa99732dcb8be8c59 \
                sha1    cf39d7f32c15f281ab81b0043b4068d101a2cd1f \
                rmd160  6c206380753f9a871e6f5d4ad237236cda96586d

python.versions 26

if {$subport ne $name} {
    depends_build     port:py${python.version}-setuptools
    livecheck.type    none
} else {
    livecheck.type    regex
    livecheck.url     ${homepage}
    livecheck.regex   {<h1>pynzb (.*)</h1>}
}