# -*- 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 107557 2013-07-03 00:39:16Z sean@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-ssh2
version             1.7.14
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 was a fork of the Paramiko Python SSH library but \
    has since been reintegrated with Paramiko.

distfiles
archive_sites

python.versions     25 26 27

if {$subport != $name} {
    replaced_by     port:py${python.version}-paramiko
} else {
    replaced_by     port:py-paramiko
}

pre-configure {
    ui_error "$subport is obsolete, please install $replaced_by instead."
    error "obsolete port"
}
