# -*- 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 83837 2011-09-11 16:14:11Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-pudb
version             0.92.15
description         A full-screen, console-based Python debugger
long_description    PuDB is a full-screen, console-based visual debugger for \
                    Python. Its goal is to provide all the niceties of \
                    modern GUI-based debuggers in a more lightweight and \
                    keyboard-friendly package. PuDB allows you to debug code \
                    right where you write and test it--in a terminal. If \
                    you've worked with the excellent (but nowadays ancient) \
                    DOS-based Turbo Pascal or C tools, PuDB's UI might look \
                    familiar.

license             MIT
maintainers         cerfacs.fr:dechaume openmaintainer
platforms           darwin
homepage            http://pypi.python.org/pypi/pudb
master_sites        http://pypi.python.org/packages/source/p/pudb
distname            pudb-${version}
checksums           md5     e0b469099b8ab67a4b75e4266b9e659c \
                    sha1    3948d9a28e70964dddf5bb6f63e32e13b38115d2 \
                    rmd160  542ae3f6b005fe69aedce1325497c9f02acb5a05

python.versions     24 25 26 27
python.default_version 27

if {$subport != $name} {
    depends_lib     port:py${python.version}-urwid
    if {${python.version} == "24"} {
        depends_lib-append port:py-pygments
    } else {
        depends_lib-append port:py${python.version}-pygments
    }
}
