# -*- 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 92507 2012-04-30 13:51:03Z jmr@macports.org $

PortSystem              1.0
PortGroup               python 1.0

name                    py-fancycompleter
set real_name           fancycompleter
version                 0.4
python.versions         25 26 27
python.default_version  25
maintainers             singingwolfboy openmaintainer
license                 BSD

description             colorful TAB completion for Python prompt
long_description        ${description}
platforms               darwin

homepage                https://bitbucket.org/antocuni/fancycompleter
master_sites            http://pypi.python.org/packages/source/f/${real_name}
distname                ${real_name}-${version}
checksums               rmd160  f8f92df73269877a84e79cb31b1db678bce23f42 \
                        sha256  13e25da511c011cb48c8c59fd408774f0329b36d01ba7da8add486ae05b278d7

subport py25-fancycompleter {
    patchfiles          py25-exception-handling.patch
}
if {$name != $subport} {
    # deps don't (yet?) exist
    pre-fetch {
        error "this port is broken"
    }
    #depends_lib-append      port:py${python.version}-repl
}
