# -*- 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-ropemode
version             0.2
platforms           darwin
license             GPL-2+
maintainers         nomaintainer
description         ropemode, a helper for using rope refactoring library in IDEs
long_description    ${description}

homepage            http://rope.sourceforge.net/
master_sites        http://pypi.python.org/packages/source/r/ropemode/
distname            ropemode-${version}

checksums           rmd160  f3d9c29519ee83c08bd264a293d51bd4e61eb4f0 \
                    sha256  54b2c7b4a04b22d41aa686942dc521a89ac36fd2c7356c2707939bb97980864b

python.versions     25 26 27

if {${name} ne ${subport}} {
    depends_lib-append  port:py${python.version}-rope
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     ropemode-(\[0-9.\]+)${extract.suffix}
}
