# -*- 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 92761 2012-05-05 23:30:19Z deric@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-ssh2
version             1.7.13
platforms           darwin
maintainers         deric
homepage            https://github.com/bitprophet/ssh
license             LGPL-2.1+
description         Pure-Python implementation of SSH2, based on Paramiko.
long_description    The ssh library is a fork of, and spiritual successor to, the Paramiko Python SSH library. \
                    It was created by the developers of the Fabric library as a way to ensure timely updates \
                    and bugfixes for critical issues.

master_sites        http://pypi.python.org/packages/source/s/ssh/
distname            ssh-${version}

checksums           md5     26800ef2c1ee3f185f48fd05258302f4 \
                    sha1    547296a7d0653f05930d1c616aebe6cb12bfd6f0 \
                    rmd160  773ddc95899b144716a65ec140767adaa4e392d6

python.versions 25 26 27
python.default_version 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-crypto
}

livecheck.url       http://pypi.python.org/pypi/ssh/
livecheck.regex     ssh/(\[0-9\]+\.\[0-9\]+.\[0-9\]+)
