# $Id: Portfile 66117 2010-04-06 04:54:56Z jmr@macports.org $

PortSystem        1.0
PortGroup         python26 1.0

name              py26-paramiko
version           1.7.6
categories        python net security
platforms         darwin
if {[info exists supported_archs]} {
    supported_archs noarch
}
maintainers       jwa openmaintainer

description       python library for making SSH2 connections
long_description  This is a library for making SSH2 connections (client \
    or server). Emphasis is on using SSH2 as an alternative to SSL for \
    making secure connections between python scripts. All major ciphers \
    and hash methods are supported. SFTP client and server mode are both \
    supported too.

homepage          http://www.lag.net/paramiko/
master_sites      ${homepage}download/
distname          paramiko-${version}

checksums           md5     fa144ab46f1dc639b05ab948c30efac4 \
                    sha1    0051dd01b7d17823d567b2988495b32afb549c20 \
                    rmd160  bd1e4c983db9fb450066531b5d24847946f683eb

depends_lib-append  port:py26-crypto

post-destroot {
  file delete -force ${destroot}${prefix}/share/doc/${name}
  file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
}

livecheck.type    regex
livecheck.url     ${homepage}
livecheck.regex   {paramiko (\d+(?:\.\d+)*)}
