# -*- 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 117596 2014-03-04 19:08:58Z jwa@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name				py-robotframework-sshlibrary
set internal_name	robotframework-sshlibrary
license             Apache-2

version             2.0.2
categories-append   devel
maintainers         jwa
description         Robot Framework library to handle ssh 
long_description    ${description}

homepage	http://code.google.com/p/${internal_name}

platforms           darwin
python.versions		26 27
python.default_version	27

master_sites        https://pypi.python.org/packages/source/r/robotframework-sshlibrary/
distname            ${internal_name}-${version}

checksums           rmd160  8cd76b1d8f3fce8a748af5e7f9211fb0c3ee8635 \
                    sha256  e4b96e018459dcd5549586c8df49c2a5befd552fe543887702b67f8be42a324d

if {${name} ne ${subport}} {
    depends_lib-append	port:py${python.version}-robotframework \
        port:py${python.version}-paramiko

    livecheck.type none
} else {
    livecheck.type     regex
    livecheck.url      https://pypi.python.org/pypi/robotframework-sshlibrary
    livecheck.regex    ${internal_name}/(\[0-9\]\\.\[0-9.\]+)
}
