# $Id: Portfile 53548 2009-07-08 01:53:57Z ryandesign@macports.org $

PortSystem        1.0
PortGroup         python25 1.0

name              py25-paramiko
epoch             1
version           1.7.4
categories        python net security
platforms         darwin
maintainers       nomaintainer

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 6ae82f2eb30748be789d4ff3909e4b5e \
                  sha1 a33e9c3fbd63f7e3a83278179a4d436e5b28347f \
                  rmd160 4ac1b61409f7ee246522de16567185bd59e1b794

depends_lib-append  port:py25-crypto

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

universal_variant no

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